From 0c6cae29730508427e741b3122c860e790ca2f39 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Fri, 17 Apr 2020 22:57:18 -0400 Subject: [PATCH] Run script not eval (otherwise the script rewrites itself while auto-updating and hell ensues) --- git-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-build.sh b/git-build.sh index cf9d472..8bbc400 100755 --- a/git-build.sh +++ b/git-build.sh @@ -31,6 +31,6 @@ echo "$branch" git pull [[ $? != 0 ]] && echo "[$p_name] PULL FAILED" && exit 1 echo "[$p_name] RUN" - GITBUILDDIR="$BASEDIR" eval "$BASEDIR/$p_name $p_name" + GITBUILDDIR="$BASEDIR" $BASEDIR/$p_name $p_name fi done