From a81ee1fc136af28edee4eb48874158a2946c76d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 27 Jul 2021 00:59:32 +0200 Subject: pkgclear: Fix glob --- bin/pkgclear | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3