From f5bfd586ae181562f70a63a573d9be01c8170d8f Mon Sep 17 00:00:00 2001 From: vonavi Date: Mon, 23 Sep 2013 13:34:40 +0300 Subject: [PATCH] Slight changes. --- schedule.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedule.sh b/schedule.sh index f0f9d16..8d023c3 100755 --- a/schedule.sh +++ b/schedule.sh @@ -12,7 +12,7 @@ restore='\\033[00m' # Note that we use `"$@"' to let each command-line parameter expand to a # separate word. The quotes around `$@' are essential! # We need ARGS as the `eval set --' would nuke the return value of getopt. -args=`getopt --options p: --longoptions player: -- "$@"` +args=$(getopt --options p: --longoptions player: -- "$@") # Note the quotes around `$ARGS': they are essential! eval set -- "$args"