fail on error

This commit is contained in:
Robin Appelman 2022-01-28 13:58:43 +01:00
commit 82944395bc
5 changed files with 8 additions and 0 deletions

View file

@ -1,4 +1,6 @@
#!/bin/bash
set -e
cd $HOME/hlserver/tf2/tf
mm_url=$(wget -q -O - "https://www.metamodsource.net/downloads.php?branch=stable" | grep -oP -m1 "https://[a-z.]+/mmsdrop/[0-9.]+/mmsource-(.*)-linux.tar.gz")