X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Farchival%2Fpack_feisty_meow.sh;h=40f438a10dd22b3c8c6fcab4f1a869e50cb4e950;hb=dfa85df6c230ed8202412e3e2cdf204edb3a6f35;hp=be600e3fe2ecb2c808398a289f379299b3b8e6c0;hpb=244c70c300010bb075dc3cefac7a2b112113c869;p=feisty_meow.git diff --git a/scripts/archival/pack_feisty_meow.sh b/scripts/archival/pack_feisty_meow.sh index be600e3f..40f438a1 100644 --- a/scripts/archival/pack_feisty_meow.sh +++ b/scripts/archival/pack_feisty_meow.sh @@ -1,6 +1,6 @@ #!/bin/bash -source $FEISTY_MEOW_SCRIPTS/core/functions.sh +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" TEMPO_FILE="$(mktemp "$TMP/zz_feistypack.XXXXXX")" # specify where we keep the file until we're ready to move it. @@ -8,17 +8,17 @@ TEMPO_FILE="$(mktemp "$TMP/zz_feistypack.XXXXXX")" # shortcut for the lengthy exclude parameter. export XC='--exclude=' -parent_dir="$(dirname "$FEISTY_MEOW_DIR")" -base_dir="$(basename "$FEISTY_MEOW_DIR")" +parent_dir="$(dirname "$FEISTY_MEOW_APEX")" +base_dir="$(basename "$FEISTY_MEOW_APEX")" pushd $parent_dir # zip up feisty meow, but exclude the file names we never want to see. -tar -h -czf $TEMPO_FILE $base_dir $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/waste/*" $XC"*/logs/*" $XC"*/binaries/*" $XC"*.git*" $XC"*/code_guide/*" $XC"*/kona/bin/*" +tar -h -czf $TEMPO_FILE $base_dir $XC*/*.tar.gz $XC*/*.zip $XC*/waste/* $XC*/logs/* $XC*/binaries/* $XC*.git* $XC*/kona/bin/* $XC*/code_guide # now move the newest version into its resting place. this prepares the # feisty_meow package for uploading. -mv -v $TEMPO_FILE $WEB_DIR/feistymeow.org/releases/feisty_meow_codebase_$(date_stringer).tar.gz +mv -v $TEMPO_FILE $WEBBED_SITES/feistymeow.org/releases/feisty_meow_codebase_$(date_stringer).tar.gz popd