Commit 9596a454 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

variant scripts: quote variables, use $() instead of ``

parent d0811637c4d8
Pipeline #2369 passed with stage
in 30 seconds
......@@ -4,5 +4,5 @@
version="$1"
tag="hg-$version"
cd "`dirname $0`"
cd "$(dirname "$0")"
......@@ -8,3 +8,3 @@
mkdir -p ./$tag/
sed -e "s/latest/$tag/g" Dockerfile > ./$tag/Dockerfile
mkdir -p ./"$tag"/
sed -e "s/latest/$tag/g" Dockerfile > ./"$tag"/Dockerfile
......@@ -4,5 +4,5 @@
version="$1"
tag="hg-$version"
cd "`dirname $0`"
cd "$(dirname "$0")"
......@@ -8,3 +8,3 @@
mkdir -p ./$tag/
sed -e "s/latest/$tag/g" Dockerfile > ./$tag/Dockerfile
mkdir -p ./"$tag"/
sed -e "s/latest/$tag/g" Dockerfile > ./"$tag"/Dockerfile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment