[devscripts/release] temporary workarounds
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 16 Sep 2013 02:12:43 +0000 (04:12 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 16 Sep 2013 02:12:43 +0000 (04:12 +0200)
devscripts/release.sh

index 62c68a6cf46d0038c67b04ee3e407a029dd92cb5..796468b4b3aee3e603ddb919535bfde281cd71e5 100755 (executable)
@@ -55,8 +55,8 @@ git push origin "$version"
 /bin/echo -e "\n### OK, now it is time to build the binaries..."
 REV=$(git rev-parse HEAD)
 make youtube-dl youtube-dl.tar.gz
-wget "http://jeromelaheurte.net:8142/download/rg3/youtube-dl/youtube-dl.exe?rev=$REV" -O youtube-dl.exe || \
-       wget "http://jeromelaheurte.net:8142/build/rg3/youtube-dl/youtube-dl.exe?rev=$REV" -O youtube-dl.exe
+read -p "VM running? (y/n) " -n 1
+wget "http://localhost:8142/build/rg3/youtube-dl/youtube-dl.exe?rev=$REV" -O youtube-dl.exe
 mkdir -p "build/$version"
 mv youtube-dl youtube-dl.exe "build/$version"
 mv youtube-dl.tar.gz "build/$version/youtube-dl-$version.tar.gz"