diff options
-rwxr-xr-x | setup/package.sh | 2 | ||||
-rwxr-xr-x | setup/unix/linux-arm-setup.sh | 2 | ||||
-rwxr-xr-x | setup/unix/setup.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/setup/package.sh b/setup/package.sh index 2b4097885..b8b35235b 100755 --- a/setup/package.sh +++ b/setup/package.sh @@ -131,7 +131,7 @@ package_unix () { eval $2 - makeself out traccar.run "traccar" ./setup.sh + makeself out traccar.run "traccar" "chmod +x setup.sh ; ./setup.sh" zip -j traccar-$1-$VERSION.zip traccar.run README.txt rm traccar.run diff --git a/setup/unix/linux-arm-setup.sh b/setup/unix/linux-arm-setup.sh index 902b25701..8128e9396 100755 --- a/setup/unix/linux-arm-setup.sh +++ b/setup/unix/linux-arm-setup.sh @@ -6,7 +6,7 @@ if [ $(java -version 2>&1 | grep -i version | sed 's/.*version "\(.*\)\.\(.*\)\. then echo "Please install Java version 7 or higher" else - mkdir $UNIX_PATH + mkdir -p $UNIX_PATH cp -rf * $UNIX_PATH chmod -R go+rX $UNIX_PATH if [ -z "`readelf -A /proc/self/exe | grep Tag_ABI_VFP_args`" ] diff --git a/setup/unix/setup.sh b/setup/unix/setup.sh index 38dcb19a0..902139a1a 100755 --- a/setup/unix/setup.sh +++ b/setup/unix/setup.sh @@ -6,7 +6,7 @@ if [ $(java -version 2>&1 | grep -i version | sed 's/.*version "\(.*\)\.\(.*\)\. then echo "Please install Java version 7 or higher" else - mkdir $UNIX_PATH + mkdir -p $UNIX_PATH cp -rf * $UNIX_PATH chmod -R go+rX $UNIX_PATH $UNIX_PATH/bin/traccar install |