wipe-sysroot: fix removals
authorRoss Burton <ross.burton@intel.com>
Mon, 2 Sep 2013 15:20:37 +0000 (16:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Sep 2013 17:02:59 +0000 (18:02 +0100)
The previous changes were totally broken as quoting globs doesn't work.  Remove
the quotes so the rm commands actually delete the stamps.

(From OE-Core rev: 5eca43debd7fbc861d41f4e260b37282915bd053)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/wipe-sysroot

index 2d2cbea..1c01166 100755 (executable)
@@ -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