Make the enabled sites explicit by not resolving their symlinks

This commit is contained in:
Brice Waegeneire 2020-10-06 10:01:12 +02:00
parent 21862af025
commit 075b93f0e8

View file

@ -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 $glob >> "$confs"
realpath --no-symlinks $glob >> "$confs"
done
done
sort "$confs" | uniq > "$confs"_tmp && mv "$confs"_tmp "$confs"