From: Jeremy Katz Date: Tue, 18 Aug 2009 17:59:19 +0000 (-0400) Subject: Fix syntax error in conditional X-Git-Tag: 001~34^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a607b7d4b83529441d7b78686963c1ab2fe85c80;p=thirdparty%2Fdracut.git Fix syntax error in conditional Fix a typo in the conditionals. Not sure how I didn't notice these before --- diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root index b8d388093..06fd67478 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root +++ b/modules.d/90dmsquash-live/dmsquash-live-root @@ -24,7 +24,7 @@ overlay=$(getarg overlay) # FIXME: we need to be able to hide the plymouth splash for the check really [ -e $livedev ] & fs=$(blkid -s TYPE -o value $livedev) -if [ "$fs" == "iso9660" -o "$fs" = "udf" ]; then +if [ "$fs" = "iso9660" -o "$fs" = "udf" ]; then check="yes" fi getarg check || check="" @@ -64,7 +64,7 @@ do_live_overlay() { pathspec=$( echo $overlay | sed -e 's/^.*://' ) fi - if [ -z "$pathspec" -o "$pathspec" == "auto" ]; then + if [ -z "$pathspec" -o "$pathspec" = "auto" ]; then pathspec="/${live_dir}/overlay-$l-$u" fi devspec=$( echo $overlay | sed -e 's/:.*$//' )