diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-27 00:59:32 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-27 00:59:32 +0200 |
commit | a81ee1fc136af28edee4eb48874158a2946c76d4 (patch) | |
tree | 4863034764ccc154c1bdb5dfc545bc16291184ce /bin | |
parent | ec01d392600d3b44587dc740cd571a18f5c11b51 (diff) | |
download | patches-a81ee1fc136af28edee4eb48874158a2946c76d4.tar.gz |
pkgclear: Fix glob
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkgclear | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkgclear b/bin/pkgclear index 7d3ecc0..320ac98 100755 --- a/bin/pkgclear +++ b/bin/pkgclear @@ -3,7 +3,7 @@ # pkgclear -- remove files left by patch n=0 -fs=$(ls *.~[2-9]~ *.~[2-9][0-9]~) +fs=$(ls *.~[2-9]~ *.~[1-9][0-9]~) rm $fs for f in $fs; do : $((n++)); done echo "${0##*/}: deleted $n files" 1>&2 |