Back to sh, fix comparison for POSIX/dash (++ CentOS, Ubuntu compatibility)
parent
dc2418e532
commit
f3987007b0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue