wipe-sysroot: fix removals

Submitted by Ross Burton on Sept. 2, 2013, 3:20 p.m. | Patch ID: 57233


Message ID 1378135237-5359-1-git-send-email-ross.burton@intel.com
State Accepted
Commit 5eca43debd7fbc861d41f4e260b37282915bd053
Headers show

Commit Message

Ross Burton Sept. 2, 2013, 3:20 p.m.
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 <ross.burton@intel.com>
 scripts/wipe-sysroot |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch hide | download patch | download mbox

diff --git a/scripts/wipe-sysroot b/scripts/wipe-sysroot
index 2d2cbea..1c01166 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
 # 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