fixes #11275, #11170 - pass spaces/quotes in args through SCL wrappers
Changes the ruby193/SCL wrappers to create a temporary file containing all original arguments from the ruby193-* command and then executes it via "scl enable". This fixes two quoting-related bugs with these wrappers.
1. #11170: the "scl enable" command has a bug (RHBZ#1248418) where it internally uses temporary shell scripts and doesn't escape double quotes, so JSON strings can't be passed through as arguments. 2. #11275: the ruby-wrappers passed through arguments word-by-word, causing arguments containing spaces to be split up. It should have used the special quoted "$@" variable.
fixes #11275, #11170 - pass spaces/quotes in args through SCL wrappers
Changes the ruby193/SCL wrappers to create a temporary file containing
all original arguments from the ruby193-* command and then executes it
via "scl enable". This fixes two quoting-related bugs with these
wrappers.
1. #11170: the "scl enable" command has a bug (RHBZ#1248418) where it
internally uses temporary shell scripts and doesn't escape double
quotes, so JSON strings can't be passed through as arguments.
2. #11275: the ruby-wrappers passed through arguments word-by-word,
causing arguments containing spaces to be split up. It should have
used the special quoted "$@" variable.