1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00

Propperly quote automatically collected file names for packages

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-07-17 16:22:51 +02:00
parent d83b9ea383
commit 055642ff26

View file

@ -55,7 +55,7 @@ unfuck_libtool() {
} }
pkg_scan_dir() { pkg_scan_dir() {
find -H "$1" -type d -printf "dir %p 0%m 0 0\\n" | tail -n +2 find -H "$1" -type d -printf "dir \"%p\" 0%m 0 0\\n" | tail -n +2
find -H "$1" -type l -printf "slink %p 0%m 0 0 %l\\n" find -H "$1" -type l -printf "slink \"%p\" 0%m 0 0 %l\\n"
find -H "$1" -type f -printf "file %p 0%m 0 0\\n" find -H "$1" -type f -printf "file \"%p\" 0%m 0 0\\n"
} }