From: Ross Burton Date: Mon, 2 Sep 2013 15:20:37 +0000 (+0100) Subject: wipe-sysroot: fix removals X-Git-Tag: 2015-4~5298 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5eca43debd7fbc861d41f4e260b37282915bd053;p=openembedded-core.git wipe-sysroot: fix removals The previous changes were totally broken as quoting globs doesn't work. Remove the quotes so the rm commands actually delete the stamps. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/scripts/wipe-sysroot b/scripts/wipe-sysroot index 2d2cbeac8c..1c01166cb9 100755 --- a/scripts/wipe-sysroot +++ b/scripts/wipe-sysroot @@ -34,11 +34,11 @@ if [ -z "$SSTATE_MANIFESTS" -o -z "$STAGING_DIR" -o -z "$STAMPS_DIR" ]; then fi # The sysroots themselves -rm -rf "$STAGING_DIR" +rm -rf $STAGING_DIR # The stamps that said the sysroot was populated -rm -rf "$STAMPS_DIR/*/*/*.do_populate_sysroot.*" -rm -rf "$STAMPS_DIR/*/*/*.do_populate_sysroot_setscene.*" +rm -rf $STAMPS_DIR/*/*/*.do_populate_sysroot.* +rm -rf $STAMPS_DIR/*/*/*.do_populate_sysroot_setscene.* # The sstate manifests -rm -rf "$SSTATE_MANIFESTS/manifest-*.populate-sysroot" +rm -rf $SSTATE_MANIFESTS/manifest-*.populate-sysroot