Skip to content
Snippets Groups Projects
Verified Commit cd0fd812 authored by Christian Heusel's avatar Christian Heusel :rocket:
Browse files

dbscrips: make createlinks also work if filename contains spaces

This addresses the problem that so far the for loop recognizes each
filename with a space as different word, i.e.:

$ for f in $(find pkg.1 -type f); do echo "$f"; done
pkg.1/usr/bin/Surge
XT
Effects
pkg.1/usr/bin/Surge
XT

while output would have been:
pkg.1/usr/bin/Surge XT Effects
pkg.1/usr/bin/Surge XT

We fix this by explictly passing each find result as its own variable.

fixes archlinux/infrastructure#524


Signed-off-by: default avatarChristian Heusel <christian@heusel.eu>
parent e87cd39b
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment