diff options
-rwxr-xr-x | update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh index 9816f1d89514..f6148abd78de 100755 --- a/update.sh +++ b/update.sh @@ -10,7 +10,7 @@ srcurl='http://nightlies.videolan.org/build/source/' srclist=$(curl "$srcurl") msg 'Find latest nightly' -fileregex='.*(<a\ +href=\")([^\"]+)(\">)' +fileregex='(<a\ +href=\")(vlc-([^\"]+)-([^\"]+)-([^\"]+)-([^\"]+))(\">)' if ! [[ $srclist =~ $fileregex ]]; then echo 'No source found' exit -1 |