From: Michael Mrozek Date: Mon, 21 Jun 2010 01:01:56 +0000 (+0200) Subject: udev-151: mount.sh: Small bugfix (SD Labels with spaces in their names X-Git-Tag: sz_beta3~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=808262a29f1eea420f6932d92f9f073dda4295ac;p=openembedded.git udev-151: mount.sh: Small bugfix (SD Labels with spaces in their names didn't work) --- diff --git a/recipes/udev/udev-151/omap3-pandora/mount.sh b/recipes/udev/udev-151/omap3-pandora/mount.sh index 3a37da2896..0819def388 100755 --- a/recipes/udev/udev-151/omap3-pandora/mount.sh +++ b/recipes/udev/udev-151/omap3-pandora/mount.sh @@ -23,7 +23,7 @@ do done automount() { - if [ ! $name2 = "" ] + if [ -n "$name2" ] then c=1 while ( cat /proc/mounts | grep "/media/$name2" ); do