aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-06 11:10:07 +1300
committerGitHub <noreply@github.com>2017-10-06 11:10:07 +1300
commitbc0b11eec363415eca42fc831535b0be2f3ca389 (patch)
tree23d3f8b4c4ce58d66539debf81b5a78d26098425 /setup
parent662cbd6f1b2c0eae0bbc59fe9341c043f5b7872a (diff)
parent0edc2866092a9b44f7a520eece94bd120a94cab7 (diff)
downloadtrackermap-server-bc0b11eec363415eca42fc831535b0be2f3ca389.tar.gz
trackermap-server-bc0b11eec363415eca42fc831535b0be2f3ca389.tar.bz2
trackermap-server-bc0b11eec363415eca42fc831535b0be2f3ca389.zip
Merge pull request #3566 from sunhoww/patch-1
Fix version assignment in docker build script
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/docker/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/docker/build.sh b/setup/docker/build.sh
index 0b292fc5f..b4cb75a4a 100755
--- a/setup/docker/build.sh
+++ b/setup/docker/build.sh
@@ -8,7 +8,7 @@ mvn package || { echo >&2 "Maven package has failed. Aborting."; exit 1; }
export company=${1:-"tananaev"}
export software=${2:-"traccar"}
export _version=$(head -n 10 ./pom.xml |grep version|cut -d ">" -f2|cut -d"<" -f1)
-export version=${3:-_version}
+export version=${3:-$_version}
tmp="./setup/docker/tmp"