udev-151: mount.sh: Small bugfix (SD Labels with spaces in their names
authorMichael Mrozek <EvilDragon@openpandora.de>
Mon, 21 Jun 2010 01:01:56 +0000 (03:01 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Mon, 21 Jun 2010 01:01:56 +0000 (03:01 +0200)
didn't work)

recipes/udev/udev-151/omap3-pandora/mount.sh

index 3a37da2..0819def 100755 (executable)
@@ -23,7 +23,7 @@ do
 done
 
 automount() {  
-       if [ ! $name2 = "" ] 
+       if [ -n "$name2" ] 
        then
                c=1
                while ( cat /proc/mounts | grep "/media/$name2" ); do