aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-26 17:02:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-05-26 17:02:57 +1200
commitdf3c354c732b264d9f80abdacb9a551388029674 (patch)
tree8b81256602bdec6fddd17abdbf34a16f430b0088 /setup
parentde6a75f81528853e75c163277ad7064c394cd62d (diff)
downloadtrackermap-server-df3c354c732b264d9f80abdacb9a551388029674.tar.gz
trackermap-server-df3c354c732b264d9f80abdacb9a551388029674.tar.bz2
trackermap-server-df3c354c732b264d9f80abdacb9a551388029674.zip
Workaround for package script
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/package.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup/package.sh b/setup/package.sh
index b38371dda..2534a3457 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -115,6 +115,8 @@ package_unix () {
mkdir -p out/{bin,conf,data,lib,logs,web,schema,templates}
copy_wrapper "bin"
+ sed -i.bak "1s/.*/#\!\/usr\/bin\/env bash/" out/bin/stopDaemonNoPriv.sh
+ rm out/bin/stopDaemonNoPriv.sh.bak
find out -type f \( -name \*.sh -o -name \*.vm \) -print0 | xargs -0 dos2unix
copy_files