aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-07-28 08:33:49 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-07-28 08:34:58 +0200
commitf5106116910772c1c94577cae05ead0b96d1d5f7 (patch)
tree2adbd77f248acb24f18d79ccbbee8384fbde8fe3
parent53f3f973ed2d511ff69ca5a51ab36d0938df3d7a (diff)
Update wrapper base script
-rwxr-xr-x.local/share/wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/share/wrapper.sh b/.local/share/wrapper.sh
index 5625fd1..336d6e7 100755
--- a/.local/share/wrapper.sh
+++ b/.local/share/wrapper.sh
@@ -75,7 +75,7 @@ main()
# case it is empty.
if [ -n "$WRAPPER_OPTS" ]
then
- WRAPPER_CMD="$WRAPPER_CMD $WRAPPER_OPTS"
+ WRAPPER_CMD="$WRAPPER_CMD $(printf "%s" "$WRAPPER_OPTS" | tr "\n" " " | awk '{$1=$1};1')"
fi
# Run all the things we want to run