Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated brewdb.ado to only create the personal/b subdirectory if the …
…directory does not already exist.
  • Loading branch information
wbuchanan committed Nov 9, 2016
1 parent 030aef7 commit 625d471
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions brewdb.ado
Expand Up @@ -21,7 +21,7 @@
********************************************************************************

*! brewdb
*! v 1.0.4
*! v 1.0.5
*! 09NOV2016

// Drop the program from memory if loaded
Expand All @@ -39,8 +39,8 @@ prog def brewdb
// Preserve the data in memory
preserve

// Check for directory and if not build it
dirfile `c(sysdir_personal)', p(b) rebuild
// Check for directory. If non existent, rebuild it.
dirfile `c(sysdir_personal)', p(b)

// Check for the metadata dataset
cap confirm new file `"`c(sysdir_personal)'b/brewmeta.dta"'
Expand Down

0 comments on commit 625d471

Please sign in to comment.