diff options
Diffstat (limited to 'rpm/Makefile')
-rw-r--r-- | rpm/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rpm/Makefile b/rpm/Makefile index 535e14e56f..36e91b9add 100644 --- a/rpm/Makefile +++ b/rpm/Makefile @@ -64,11 +64,13 @@ $(config): template $(distinfo) Makefile rm -f $@.new (sed -e 's%@VERSION@%$(version)%g' $<; \ ($(foreach var,$(instvars),\ - for f in $(install-$(var)); do \ + list='$(install-$(var))'; \ + for f in $$list; do \ echo $(filter-out /,$($(var)dir)/)$$f; \ done;\ )) | sort; \ - (for f in $(install-sysconf); do \ + (list='$(install-sysconf)'; \ + for f in $$list; do \ echo %config $$f; \ done) | sort) > $@.new mv -f $@.new $@ |