[11939] Make binary_extracting scripts compatible to bourne shell. Thanks to nighoo for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
Schmoozerd 2012-04-06 19:35:40 +02:00
parent 95ce0c927c
commit fe3f4a43ee
3 changed files with 18 additions and 18 deletions

View file

@ -54,11 +54,11 @@ badParam()
echo
}
if [ "$#" == "3" ]
if [ "$#" = "3" ]
then
LOG_FILE=$2
DETAIL_LOG_FILE=$3
elif [ "$#" == "2" ]
elif [ "$#" = "2" ]
then
LOG_FILE=$2
fi
@ -84,7 +84,7 @@ createMMaps()
do
for j in $EXCLUDE_MAPS
do
if [ "$i" == "$j" ]
if [ "$i" = "$j" ]
then
continue 2
fi