From: Michael Mrozek Date: Mon, 5 Jul 2010 01:58:22 +0000 (+0200) Subject: mount.sh: Changed it so that spaces will be converted to underscores X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=025e0e49f65d4f8d5eeb7c01c95b2cec042d73ce;p=openembedded.git mount.sh: Changed it so that spaces will be converted to underscores (until libpnd is fixed) --- diff --git a/recipes/udev/udev-151/omap3-pandora/mount.sh b/recipes/udev/udev-151/omap3-pandora/mount.sh index 979fb277e0..d69ae9d784 100755 --- a/recipes/udev/udev-151/omap3-pandora/mount.sh +++ b/recipes/udev/udev-151/omap3-pandora/mount.sh @@ -10,7 +10,7 @@ PMOUNT="/usr/bin/pmount" UMOUNT="/bin/umount" blkid="/usr/sbin/blkid" name="`basename "$DEVNAME"`" -name2="`$blkid "$DEVNAME" -c /dev/null -o value -s LABEL`" +name2="`$blkid "$DEVNAME" -c /dev/null -o value -s LABEL | sed 's/ /_/g'`" name3=$(echo $DEVNAME | sed 's/.*dev.//g') for line in `grep -v ^# /etc/udev/mount.blacklist`