X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fdotnet-retired%2Fpostconditions.sh;h=9d14524374d43ecf89126359bb6e848791124ef7;hb=3f261f3eb4adc0626c8ed3524dd72e08d27cbdbf;hp=cbdd6bc958f55117dec2750647b7676bb1db8503;hpb=102061cab065f647954f3e935f11f433e2f088d4;p=feisty_meow.git diff --git a/scripts/clam/dotnet-retired/postconditions.sh b/scripts/clam/dotnet-retired/postconditions.sh index cbdd6bc9..9d145243 100644 --- a/scripts/clam/dotnet-retired/postconditions.sh +++ b/scripts/clam/dotnet-retired/postconditions.sh @@ -5,7 +5,7 @@ if [ -f $FAILURE_FILE ]; then echo Postconditions will not promote due to a failure: cat $FAILURE_FILE - . $CLAM_DIR/exit_make.sh + . $CLAM_SCRIPTS/exit_make.sh fi # make sure that we actually did something during the make. @@ -22,7 +22,7 @@ for i in *.resources; do rm -f "$i"; done # these variables define the locations for final products. all of them # descend from the root of the repository. -ROOT=$TARGETS_DIR +ROOT=$TARGETS_STORE LIB_DIR=$ROOT/lib DLL_DIR=$ROOT/dll EXE_DIR=$ROOT/exe @@ -30,12 +30,12 @@ TEST_ROOT=$ROOT/tests TEST_DIR=$TEST_ROOT/$PROJECT # causes the shell to quit. -DIE=". $CLAM_DIR/exit_make.sh" +DIE=". $CLAM_SCRIPTS/exit_make.sh" if [ "$TYPE" = "library" ]; then # make sure the required directories exist. - if [ ! -d $ROOT ]; then mkdir $ROOT; fi + if [ ! -d $ROOT ]; then mkdir -p $ROOT; fi if [ ! -d $LIB_DIR ]; then mkdir $LIB_DIR; fi if [ ! -d $DLL_DIR ]; then mkdir $DLL_DIR; fi @@ -102,6 +102,6 @@ elif [ "$TYPE" = "test" ]; then else echo "Unknown type for project [$TYPE]; cancelling postconditions!" - . $CLAM_DIR/exit_make.sh + . $CLAM_SCRIPTS/exit_make.sh fi