[oe-commits] =?UTF-8?Q?St=C3=A9phane=20Cerveau=20?=: e2fsprogs: Fix populate-extfs.sh

git at git.openembedded.org git at git.openembedded.org
Mon Jun 30 15:37:29 UTC 2014


Module: openembedded-core.git
Branch: dora
Commit: ab6bd289d51c3c44862b43241a99d3e4f3ff13c0
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ab6bd289d51c3c44862b43241a99d3e4f3ff13c0

Author: Stéphane Cerveau <scerveau at connected-labs.com>
Date:   Mon Jun 30 16:18:44 2014 +0200

e2fsprogs: Fix populate-extfs.sh

Fix the use of command dirname on ubuntu 12.04.
dirname does not accept space in file name.

Signed-off-by: Stéphane Cerveau <scerveau at connected-labs.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh
index 26a8d89..47f5b5b 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh
@@ -28,7 +28,7 @@ DEBUGFS="debugfs"
 		[ ! -z "$DIR" ] || continue
 		[ ! -z "$TGT" ] || continue
 
-                DIR="$(dirname $DIR)"
+                DIR="$(dirname "$DIR")"
 
 		if [ "$DIR" != "$CWD" ]; then
 			echo "cd $DIR"



More information about the Openembedded-commits mailing list