get_confs don't stop on non existing file
This commit is contained in:
parent
a17df0c610
commit
9b2fd607b2
|
@ -34,7 +34,7 @@ get_confs() {
|
|||
for conf_file in $(cat "$confs"); do
|
||||
# XXX: Expand the filenames
|
||||
for glob in $(awk '/^[[:space:]]*Include/ {print $2}' "$conf_file"); do
|
||||
realpath --canonicalize-existing --no-symlinks --quiet $glob >> "$confs"
|
||||
realpath --canonicalize-existing --no-symlinks --quiet $glob >> "$confs" || true
|
||||
done
|
||||
done
|
||||
sort "$confs" | uniq > "$confs"_tmp && mv "$confs"_tmp "$confs"
|
||||
|
|
Loading…
Reference in a new issue