tazwok rev 362
Fixed new-tree option to make new receipt in clean_wok instend of WOK.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Feb 24 08:50:48 2011 +0000 (2011-02-24) |
parents | d342e3b2a721 |
children | 3eb1f4e6ba37 |
files | tazwok |
line diff
1.1 --- a/tazwok Thu Feb 24 13:04:55 2011 +0100 1.2 +++ b/tazwok Thu Feb 24 08:50:48 2011 +0000 1.3 @@ -2766,13 +2766,14 @@ 1.4 # 1.5 get_tazwok_config 1.6 check_for_package_on_cmdline 1.7 - if [ -d $WOK/$PACKAGE ]; then 1.8 + clean_wok=$LOCAL_REPOSITORY/clean-wok 1.9 + if [ -d $clean_wok/$PACKAGE ]; then 1.10 echo -e "\n$PACKAGE package tree already exists.\n" >&2 1.11 exit 1 1.12 fi 1.13 echo "Creating : $WOK/$PACKAGE" 1.14 - mkdir $WOK/$PACKAGE 1.15 - cd $WOK/$PACKAGE 1.16 + mkdir $clean_wok/$PACKAGE 1.17 + cd $clean_wok/$PACKAGE 1.18 echo -n "Preparing the receipt..." 1.19 # 1.20 # Default receipt begin.