Verified Commit a8aece9d authored by Karel Koci's avatar Karel Koci 🤘
Browse files

Remove install path in generated CSV

Install path was wrong because package is installed to relative path in
build system. This meant that generated CSV was invalid and pointed to
wrong location.
On the other hand there is no need to have absolute path there. User
accesses this file in same location as EULAs are so it is easy to locate
them and makes it independent on install path in this package.

This commit also reformats touched code to make it more readable (single
line to formated multiline).
parent aa4c5513
......@@ -9,7 +9,10 @@ LIST:=EULAs.csv
all: $(LIST)
$(LIST): $(EULAS)
for filename in $^ ; do eula_file="$$(basename $$filename)"; echo "$${eula_file%.*},\"$(DESTDIR)$$eula_file\" " >> $@; done
for filename in $^; do \
eula_file="$$(basename "$$filename")"; \
echo "$${eula_file%.*},\"$$eula_file\" "; \
done > "$@"
install: $(EULAS) $(LIST)
install -d $(DESTDIR)
......
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