using THISDIR instead of WORKDIR
[feisty_meow.git] / scripts / archival / backup_trac.sh
index f96e5ae5acbf4cd868a13f45dd82c231a47bd80d..dadb6219a89d6ab9cf8d285a7f5297298c0a8cc6 100644 (file)
@@ -2,12 +2,12 @@
 
 # backs up a trac repository into a tar.gz file.
 
-export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
+export THISDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
 
 trac_path="$1"; shift
 archive_path="$1"; shift
 
 # call our arbitrary backer upper, since this is a simple single directory case.
-bash $WORKDIR/backup_arbitrary.sh "$trac_path" "$archive_path" "trac_bkup"
+bash $THISDIR/backup_arbitrary.sh "$trac_path" "$archive_path" "trac_bkup"