fix(db): adjust WORK_DIR

This commit is contained in:
dancingCycle 2023-08-28 13:16:13 +02:00
parent efa2fbe1c5
commit 9bfeb0aad8
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ else
# (): replaces the shell without creating a new process
BASEDIR=$(dirname $0)
echo "BASEDIR: ${BASEDIR}"
(sh ./${BASEDIR}/stops_zhv.sh $unzipDir)
(sh ./${BASEDIR}/stops_zhv.sh $WORK_DIR)
zip -jr ${dloadFile}-stops_zhv.zip ${unzipDir}
fi
echo "Done."

View File

@ -9,7 +9,7 @@ if [ $# -lt 1 ]; then
exit 1
fi
#
file=${1}/stops_zhv.txt
file=${1}/zhv/unzip/stops_zhv.txt
echo "file: "
echo $file
fileBase=$(basename $file)