diff --git a/compile_nodelist.sh b/compile_nodelist.sh index bcf7e63..c3dc4af 100755 --- a/compile_nodelist.sh +++ b/compile_nodelist.sh @@ -4,8 +4,8 @@ ORIGDIR=$PWD IWORKDIR="/root/git/tqwnet_nodelist" IPACKDIR="/root/git/tqwnet_infopack" -WORKDIR="${1:-IWORKDIR}" -PACKDIR="${2:-IPACKDIR}" +WORKDIR="${1:-$IWORKDIR}" +PACKDIR="${2:-$IPACKDIR}" COMMIT="$(date "+%Y-%m-%d %H:%M:%S")"