From 32ac45e2e96baa970eca750a706d8bc823512844 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 22 Sep 2015 11:06:36 +1200 Subject: Fix some installer script issues --- setup/unix/linux-arm-setup.sh | 2 +- setup/unix/setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'setup/unix') 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 -- cgit v1.2.3