aboutsummaryrefslogtreecommitdiff
path: root/setup/unix
diff options
context:
space:
mode:
Diffstat (limited to 'setup/unix')
-rwxr-xr-xsetup/unix/linux-arm-setup.sh2
-rwxr-xr-xsetup/unix/setup.sh2
2 files changed, 2 insertions, 2 deletions
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