source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+# location where we intend to store these packages.
+RELEASE_PATH="$WEBBED_SITES/feistymeow.org/releases"
+
+# check that we can see the release path.
+if [ ! -d "$RELEASE_PATH" ]; then
+ echo "The release path does not exist: $RELEASE_PATH"
+ exit 1
+fi
+
TEMPO_FILE="$(mktemp "$TMP/zz_feistypack.XXXXXX")"
# specify where we keep the file until we're ready to move it.
+log_feisty_meow_event "packing feisty meow in temporary file $TEMPO_FILE"
+
# shortcut for the lengthy exclude parameter.
# note that this only works on file patterns apparently, like *.hosed,
# instead of working with general patterns (like */code_guide/*).
# now move the newest version into its resting place. this prepares the
# feisty_meow package for uploading.
-mv -v $TEMPO_FILE $WEBBED_SITES/feistymeow.org/releases/feisty_meow_codebase_$(date_stringer).tar.gz
+mv -v $TEMPO_FILE "$RELEASE_PATH/feisty_meow_codebase_$(date_stringer).tar.gz"
popd