fakeroot does not handle args with spaces correctly
testcase:
cat >args.sh<<EOF
#!/bin/sh
for i; do
echo "arg: $i"
done
EOF
chmod +x args.sh
fakeroot -- ./args foo "a b c"
Should output:
arg: foo
arg: a b c
But unless util-linux is installed it will output:
arg: foo
arg: a
arg: b
arg: c
(from redmine: issue id 3500, created on 2014-11-05, closed on 2014-11-18)
- Changesets:
- Revision 26dbf8bd by Natanael Copa on 2014-11-06T12:05:14Z:
main/fakeroot: fix getopt to handle args with spaces
ref #3500
- Revision 906cca7b by Natanael Copa on 2014-11-06T12:09:20Z:
main/fakeroot: fix getopt to handle args with spaces
fixes #3500
(cherry picked from commit 26dbf8bdcbc6ef342e84728f113b063c604a4893)
Conflicts:
main/fakeroot/APKBUILD