aboutsummaryrefslogtreecommitdiff
path: root/setup/unix
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-22 11:06:36 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-22 11:06:36 +1200
commit32ac45e2e96baa970eca750a706d8bc823512844 (patch)
treec86d309142a40d64c0eef81b765d1cbd867c081c /setup/unix
parent374ee56aa76b2196dea6d08673e5bea91d8147da (diff)
downloadtrackermap-server-32ac45e2e96baa970eca750a706d8bc823512844.tar.gz
trackermap-server-32ac45e2e96baa970eca750a706d8bc823512844.tar.bz2
trackermap-server-32ac45e2e96baa970eca750a706d8bc823512844.zip
Fix some installer script issues
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