From: Ross Burton Date: Mon, 2 Sep 2013 15:20:37 +0000 (+0100) Subject: wipe-sysroot: fix removals X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~36135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eca43debd7fbc861d41f4e260b37282915bd053;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 2d2cbeac8cf..1c01166cb9f 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