Back to sh, fix comparison for POSIX/dash (++ CentOS, Ubuntu compatibility)

This commit is contained in:
Michael Parks 2013-09-17 15:27:52 -06:00
parent dc2418e532
commit f3987007b0

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
#Move to the folder where ep-lite is installed #Move to the folder where ep-lite is installed
cd `dirname $0` cd `dirname $0`
@ -11,7 +11,7 @@ fi
ignoreRoot=0 ignoreRoot=0
for ARG in $* for ARG in $*
do do
if [ $ARG == '--root' ]; then if [ "$ARG" = "--root" ]; then
ignoreRoot=1 ignoreRoot=1
fi fi
done done