projects
/
experiments
/
gstreamer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28de60b
)
gst-raiplay-download.sh: fix some shellcheck warnings
author
Antonio Ospite <ao2@ao2.it>
Fri, 14 Dec 2018 11:30:52 +0000
(12:30 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 14 Dec 2018 11:30:52 +0000
(12:30 +0100)
shell/gst-raiplay-download.sh
patch
|
blob
|
history
diff --git
a/shell/gst-raiplay-download.sh
b/shell/gst-raiplay-download.sh
index
4fc86d8
..
088f1ba
100755
(executable)
--- a/
shell/gst-raiplay-download.sh
+++ b/
shell/gst-raiplay-download.sh
@@
-4,7
+4,7
@@
set -e
-
[ "x$1" = "x" -o "x$2" = x ] && { echo "usage: $(basename $0
) <source_m3u8_url> <output_file>" 1>&2; exit 1; }
+
{ [ "x$1" = "x" ] || [ "x$2" = x ]; } && { echo "usage: $(basename "$0"
) <source_m3u8_url> <output_file>" 1>&2; exit 1; }
SOURCE_URL="$1"
OUTPUT_FILE="$2"