aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-10-07 12:50:53 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-10-07 12:50:53 +0000
commit5d31b4db98509f683d52a311f3ee2d5ecbb6264e (patch)
treea95a700da733daf3ea0cacf5ca7b80e10c778a0b
parent3286ba1311df21afd526777d2c32bb2eaa0ef8ad (diff)
downloadcpt-5d31b4db98509f683d52a311f3ee2d5ecbb6264e.tar.gz
kiss: Just use rm
FossilOrigin-Name: d32f19559f213e05c7b09fec984f114ef9332e3cc5888df10c131ec385763b73
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 692e0e2..bff16d6 100755
--- a/kiss
+++ b/kiss
@@ -328,7 +328,7 @@ pkg_junk() (
# Loop over each junk entry and delete it if it exists.
for junk; do
- [ -e "./$junk" ] && find "./$junk" -delete &&
+ [ -e "./$junk" ] && rm -rf "./$junk" &&
log "${PWD##*/}" "Removed $junk"
done ||:
)