summaryrefslogtreecommitdiffstats
path: root/asdctool/src/main/resources/scripts/baseOperation.sh
diff options
context:
space:
mode:
Diffstat (limited to 'asdctool/src/main/resources/scripts/baseOperation.sh')
-rw-r--r--asdctool/src/main/resources/scripts/baseOperation.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/asdctool/src/main/resources/scripts/baseOperation.sh b/asdctool/src/main/resources/scripts/baseOperation.sh
index b27b734276..ffa101e26d 100644
--- a/asdctool/src/main/resources/scripts/baseOperation.sh
+++ b/asdctool/src/main/resources/scripts/baseOperation.sh
@@ -1,9 +1,9 @@
-#!/bin/bash
+#!/bin/sh
CURRENT_DIR=`pwd`
BASEDIR=$(dirname $0)
-if [ ${BASEDIR:0:1} = "/" ]
+if [ `echo ${BASEDIR} | cut -c1-1` = "/" ]
then
FULL_PATH=$BASEDIR
else