aboutsummaryrefslogtreecommitdiff
path: root/setup/docker/build.sh
diff options
context:
space:
mode:
authorbvoudenaarde <oudenaar@gmail.com>2016-11-23 22:18:43 +0100
committerbvoudenaarde <oudenaar@gmail.com>2016-11-23 22:18:43 +0100
commit0a2dfffa373ef8e72aa75cb56f0916bb424c37d6 (patch)
tree844a6644f591ad92358798d8990dd5a8598720f8 /setup/docker/build.sh
parented53b472c0cdea2d6f6ff71040f75c9f0869abfd (diff)
downloadtrackermap-server-0a2dfffa373ef8e72aa75cb56f0916bb424c37d6.tar.gz
trackermap-server-0a2dfffa373ef8e72aa75cb56f0916bb424c37d6.tar.bz2
trackermap-server-0a2dfffa373ef8e72aa75cb56f0916bb424c37d6.zip
made changes build.sh conform review comments
Diffstat (limited to 'setup/docker/build.sh')
-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 59280aaff..56d6fc518 100755
--- a/setup/docker/build.sh
+++ b/setup/docker/build.sh
@@ -13,7 +13,7 @@ tmp="./setup/docker/tmp"
mkdir -p ${tmp}
-cat ./setup/traccar.xml | awk '/web.path/ && !modif { printf(" <entry key=\"web.debug\">true</entry>\n"); modif=1 } {print}' > ${tmp}/traccar.xml
+cat ./setup/traccar.xml | awk '/config.default/ && !modif { print;printf(" <entry key=\"web.debug\">true</entry>\n");next; modif=1 } {print}' > ${tmp}/traccar.xml
cp -rf ./setup/default.xml ${tmp}
cp -rf ./schema ${tmp}/schema
cp -rf ./target/tracker-server.jar ${tmp}/traccar-server.jar