1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-24 11:11:54 +00:00

Improve test skipping functionality

This commit is contained in:
Philipp Hagemeister 2013-06-24 00:05:02 +02:00
parent 200b388752
commit d3a8613b6e

View file

@ -15,8 +15,9 @@
set -e
skip_test=false
if [ "$2" = '--skip-test' ]; then
if [ "$1" = '--skip-test' ]; then
skip_test=true
shift
fi
if [ -z "$1" ]; then echo "ERROR: specify version number like this: $0 1994.09.06"; exit 1; fi
version="$1"