Fix if statement
This commit is contained in:
parent
299bed21b7
commit
a4fbce3d94
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
if $# -ne 1; then
|
if [ $# -ne 1 ]; then
|
||||||
echo "Please provide the path to one video file"
|
echo "Please provide the path to one video file"
|
||||||
$(exit 1); echo "$?"
|
$(exit 1); echo "$?"
|
||||||
fi
|
fi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
if $# -ne 3; then
|
if [ $# -ne 3 ]; then
|
||||||
echo "Please use this script with \"PATH\" \"Input Extension\" \"Output Extension\""
|
echo "Please use this script with \"PATH\" \"Input Extension\" \"Output Extension\""
|
||||||
$(exit 1); echo "$?"
|
$(exit 1); echo "$?"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user