diff options
Diffstat (limited to 'setup')
-rwxr-xr-x | setup/package.sh | 2 |
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 |