mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-24 08:42:30 +00:00
Improve test skipping functionality
This commit is contained in:
parent
200b388752
commit
d3a8613b6e
1 changed files with 2 additions and 1 deletions
|
@ -15,8 +15,9 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
skip_test=false
|
skip_test=false
|
||||||
if [ "$2" = '--skip-test' ]; then
|
if [ "$1" = '--skip-test' ]; then
|
||||||
skip_test=true
|
skip_test=true
|
||||||
|
shift
|
||||||
fi
|
fi
|
||||||
if [ -z "$1" ]; then echo "ERROR: specify version number like this: $0 1994.09.06"; exit 1; fi
|
if [ -z "$1" ]; then echo "ERROR: specify version number like this: $0 1994.09.06"; exit 1; fi
|
||||||
version="$1"
|
version="$1"
|
||||||
|
|
Loading…
Reference in a new issue