# HG changeset patch # User Christopher Rogers # Date 1298537448 0 # Node ID c2c01e4ea11b8b6c7bdc648139b79bc9b78a2363 # Parent d342e3b2a7218a32c817ad1f05a37a900f659376 Fixed new-tree option to make new receipt in clean_wok instend of WOK. diff -r d342e3b2a721 -r c2c01e4ea11b tazwok --- a/tazwok Thu Feb 24 13:04:55 2011 +0100 +++ b/tazwok Thu Feb 24 08:50:48 2011 +0000 @@ -2766,13 +2766,14 @@ # get_tazwok_config check_for_package_on_cmdline - if [ -d $WOK/$PACKAGE ]; then + clean_wok=$LOCAL_REPOSITORY/clean-wok + if [ -d $clean_wok/$PACKAGE ]; then echo -e "\n$PACKAGE package tree already exists.\n" >&2 exit 1 fi echo "Creating : $WOK/$PACKAGE" - mkdir $WOK/$PACKAGE - cd $WOK/$PACKAGE + mkdir $clean_wok/$PACKAGE + cd $clean_wok/$PACKAGE echo -n "Preparing the receipt..." # # Default receipt begin.