contrib/image-convert: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:41:51 +0000 (15:41 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:51 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Michael Smith <msmith@cbnco.com>
contrib/image-convert/tar2ext2
contrib/image-convert/tar2ext2.mount

index d5756a4..03839d0 100755 (executable)
@@ -9,7 +9,7 @@ ext=`echo $1 | sed -r -e 's/.+\.([^.]+\.[^.]+)/\1/'`
 base=$(basename $1 .$ext)
 dir=$(dirname $1)
 
-if [ "$ext" == "tar.bz2" ]; then
+if [ "$ext" = "tar.bz2" ]; then
     uncompress=j
 else
     uncompress=z
index 7e23098..07cff33 100755 (executable)
@@ -7,7 +7,7 @@ fi
 
 ext=`echo $1 | sed -r -e 's/.+\.([^.]+\.[^.]+)/\1/'`
 base=$(basename $1 .$ext)
-if [ "$ext" == "tar.bz2" ]; then
+if [ "$ext" = "tar.bz2" ]; then
     uncompress=j
 else
     uncompress=z