From 5bb11c517dd3803cdd9182683d13f5b7b05204d2 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 30 Oct 2013 10:38:38 -0400 Subject: [PATCH] attempting to get parms with spaces to still pass on through as single parameters rather than being broken up. this has been afflicting sudo calls to add-apt-repository where the parameter is one string with spaces in it. --- scripts/core/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index f6a9beb3..bf92636c 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -230,7 +230,7 @@ if [ -z "$skip_all" ]; then # label if they're doing an su with the sudo. function sudo() { local first_command="$1" - /usr/bin/sudo $* + /usr/bin/sudo "$@" if [ "$first_command" == "su" ]; then # yep, they were doing an su, but they're back now. bash $FEISTY_MEOW_SCRIPTS/tty/label_terminal_with_infos.sh -- 2.34.1