From f5106116910772c1c94577cae05ead0b96d1d5f7 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Thu, 28 Jul 2022 08:33:49 +0200
Subject: Update wrapper base script
---
.local/share/wrapper.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
cgit v1.1