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

pull/1851/head
Michael Parks 2013-09-17 15:27:52 -06:00
parent dc2418e532
commit f3987007b0
1 changed files with 2 additions and 2 deletions

View File

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