Commit f6572da4e8ecebf974a0c91535b9e8a937998629

Authored by Boris Gordon
1 parent 06d4ab1375

script/nuke failed to delete receipts

Can't use a bare system call because we need globbing

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

... ... @@ -54,7 +54,8 @@
54 54  
55 55 if all || receipts
56 56 warn "-> Removing /var/db/.puppet_*."
57   - system "rm", "-rf", "/var/db/.puppet_*" if force
  57 + # can't use a bare system call here, because we need globbing.
  58 + system 'sh -c "rm -rf /var/db/.puppet_*"' if force
58 59 end
59 60  
60 61 if all || gitconfig