Commit 7c7d74b4 authored by Michael Shigorin's avatar Michael Shigorin

tags2lists: skip backup files too

Seeing tagged/base+rescue~ in build.log isn't particularly heart-warming; while other editors but the one leaving tilda marked backups and .sw* swap files might exist let's do this step at this time. Wonder what changed though, this used not to happen before.
parent 1186a5e7
......@@ -30,4 +30,7 @@ transformed="$(sed \
-e "s, *) *, ) ,g")"
[ "$DEBUG" = 2 ] && echo "`basename $0`: transformed = \"$transformed\"" >&2
[ -z "$transformed" ] || find $transformed | sed 's,^\./,,' | grep -v '\.sw.$'
[ -z "$transformed" ] ||
find $transformed \
| sed 's,^\./,,' \
| egrep -v '(\.sw.|~)$'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment