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.
This commit is contained in:
parent
1186a5e7f7
commit
7c7d74b4d9
@ -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.|~)$'
|
||||
|
Loading…
x
Reference in New Issue
Block a user