Skip to content

Instantly share code, notes, and snippets.

@mrnoname1000
Created March 3, 2022 18:01
Show Gist options
  • Save mrnoname1000/a0a12188138b61d58b08dae64f298ce0 to your computer and use it in GitHub Desktop.
Save mrnoname1000/a0a12188138b61d58b08dae64f298ce0 to your computer and use it in GitHub Desktop.
diff --git a/bin/jruby.sh b/bin/jruby.sh
index 7feebee29f..93f529fa7e 100755
--- a/bin/jruby.sh
+++ b/bin/jruby.sh
@@ -90,7 +90,7 @@ map() {
local funcname="$1"
local listname="$2"
# Load contents of array named by $3
- eval eval set -- "\${$3}"
+ eval eval set -- "\"\${$3}\""
"$funcname" "$listname" "$@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment