dbscripts: fix createlinks for filenames that contain spaces
- Aug 20, 2023
-
-
Christian Heusel authored
So far the for loop recognized filenames with spaces as different words: $ for f in $(find pkg -type f); do echo "$f"; done pkg/usr/bin/Surge XT Effects pkg/usr/bin/Surge XT While the correct output here would have been: pkg/usr/bin/Surge XT Effects pkg/usr/bin/Surge XT We fix this by just passing everything directly to readelf, which also removes the loop overhead. This results in a significant speedup for packages with a lot of libraries and binaries. fixes: #524 Co-Authored-By:
Evangelos Foutras <evangelos@foutras.com>
-