tags2lists: filter out vim swap files
The (funny but somewhat confusing) problem manifests itself as E: Couldn't find package Binary during a build run in the profile where a tagged packagelist referenced by a specific target being built is open with vim (which results in .FILE.sw? temporary file lying aside).
This commit is contained in:
parent
d045fe49e5
commit
bad7fb53ca
@ -30,4 +30,4 @@ transformed="$(sed \
|
||||
-e "s, *) *, ) ,g")"
|
||||
|
||||
[ "$DEBUG" = 2 ] && echo "`basename $0`: transformed = \"$transformed\"" >&2
|
||||
[ -z "$transformed" ] || find $transformed | sed 's,^\./,,'
|
||||
[ -z "$transformed" ] || find $transformed | sed 's,^\./,,' | grep -v '\.sw.$'
|
||||
|
Loading…
Reference in New Issue
Block a user