From f6572da4e8ecebf974a0c91535b9e8a937998629 Mon Sep 17 00:00:00 2001 From: Boris Gordon Date: Fri, 1 Mar 2013 14:13:33 +1100 Subject: [PATCH] script/nuke failed to delete receipts Can't use a bare system call because we need globbing --- script/nuke | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/nuke b/script/nuke index 4a06979..d62e098 100755 --- a/script/nuke +++ b/script/nuke @@ -54,7 +54,8 @@ end if all || receipts warn "-> Removing /var/db/.puppet_*." - system "rm", "-rf", "/var/db/.puppet_*" if force + # can't use a bare system call here, because we need globbing. + system 'sh -c "rm -rf /var/db/.puppet_*"' if force end if all || gitconfig -- 1.8.5.3