[OE-core] [oe-core][dora][PATCH] e2fsprogs: Fix populate-extfs.sh

Stephane Cerveau scerveau at connected-labs.com
Mon Jun 30 14:20:20 UTC 2014


This patch applies to master and daisy branches too.

On 06/30/2014 04:18 PM, Stéphane Cerveau wrote:
> 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>
> ---
>   .../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-core mailing list