aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Alexander Richtsfeld <robin.richtsfeld@gmail.com>2017-11-22 19:40:38 +0100
committer无闻 <u@gogs.io>2017-11-22 13:40:38 -0500
commit3cba8778b21232b344fc35a4ff4397a70ac85eee (patch)
tree148c93a72042519457b1c4d8f5c42963947ef1a9
parent1c33c936e6c7e2b23d8409a4d0809387bb6ef754 (diff)
scripts: fix overextending of variable name (#4888)
-rwxr-xr-xscripts/build_freebsd.sh2
-rwxr-xr-xscripts/build_linux64.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build_freebsd.sh b/scripts/build_freebsd.sh
index b53c6ac0..9662f776 100755
--- a/scripts/build_freebsd.sh
+++ b/scripts/build_freebsd.sh
@@ -1,6 +1,6 @@
outPlattform=freebsd
outArch=amd64
-outPath=./output_$outPlattform_$outArch
+outPath=./output_${outPlattform}_$outArch
rm -rf $outPath
mkdir $outPath
diff --git a/scripts/build_linux64.sh b/scripts/build_linux64.sh
index 8b3a68c2..a4e73936 100755
--- a/scripts/build_linux64.sh
+++ b/scripts/build_linux64.sh
@@ -1,6 +1,6 @@
outPlattform=linux
outArch=amd64
-outPath=./output_$outPlattform_$outArch
+outPath=./output_${outPlattform}_$outArch
rm -rf $outPath
mkdir $outPath