diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-10-06 11:10:07 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-06 11:10:07 +1300 |
commit | bc0b11eec363415eca42fc831535b0be2f3ca389 (patch) | |
tree | 23d3f8b4c4ce58d66539debf81b5a78d26098425 | |
parent | 662cbd6f1b2c0eae0bbc59fe9341c043f5b7872a (diff) | |
parent | 0edc2866092a9b44f7a520eece94bd120a94cab7 (diff) | |
download | trackermap-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
-rwxr-xr-x | setup/docker/build.sh | 2 |
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" |