From: Antonio Ospite Date: Fri, 14 Dec 2018 11:30:52 +0000 (+0100) Subject: gst-raiplay-download.sh: fix some shellcheck warnings X-Git-Url: https://git.ao2.it/experiments/gstreamer.git/commitdiff_plain/f842182eaaf9a29891209806024a19a73be98cfd?hp=28de60bacf12c9acd1664f009d05337a5368d0a4 gst-raiplay-download.sh: fix some shellcheck warnings --- diff --git a/shell/gst-raiplay-download.sh b/shell/gst-raiplay-download.sh index 4fc86d8..088f1ba 100755 --- 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) " 1>&2; exit 1; } +{ [ "x$1" = "x" ] || [ "x$2" = x ]; } && { echo "usage: $(basename "$0") " 1>&2; exit 1; } SOURCE_URL="$1" OUTPUT_FILE="$2"