Commit 8df85173 authored by Ruud Althuizen's avatar Ruud Althuizen Committed by Rémi Denis-Courmont

Fix the contrib for files and dirs with spaces

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent a2d9bd0a
...@@ -56,8 +56,8 @@ using-bin: contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2 ...@@ -56,8 +56,8 @@ using-bin: contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2
mkdir tmp mkdir tmp
(cd tmp && tar jxvf ../$<) (cd tmp && tar jxvf ../$<)
./change_prefix.sh tmp @@CONTRIB_PREFIX@@ $(PREFIX) ./change_prefix.sh tmp @@CONTRIB_PREFIX@@ $(PREFIX)
for dir in `(cd tmp && find . -type d)`; do mkdir -p -- $$dir; done (cd tmp && find . -type d) | while read dir; do mkdir -p -- "$$dir"; done
for i in `(cd tmp && find . -not -type d)`; do mv -f tmp/$$i $$i; done (cd tmp && find . -not -type d) | while read i; do mv -f -- tmp/"$$i" "$$i"; done
rm -rf tmp rm -rf tmp
endif endif
......
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