diff --git a/rm-tmps.sh b/rm-tmps.sh index 7c75f25..002091a 100755 --- a/rm-tmps.sh +++ b/rm-tmps.sh @@ -7,4 +7,4 @@ #If you want to build the disk image, use "lh_build" as documented at # http://devel.cryptobox.org/wiki/DebianLiveBuild -rm --verbose -f `find config -name "*~"` +find config -type f -name \*~ -exec rm --verbose -f '{}' \;