Directly call update_latest
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 25 Jun 2013 18:50:54 +0000 (20:50 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 25 Jun 2013 18:50:54 +0000 (20:50 +0200)
devscripts/release.sh

index 320a8fa0f254fe5a8ee927b7dc699c788d8698ae..46c31e437558659d734d4f59009eadcd94ca62c0 100755 (executable)
@@ -71,7 +71,7 @@ git checkout HEAD -- youtube-dl youtube-dl.exe
 for f in $RELEASE_FILES; do gpg --detach-sig "build/$version/$f"; done
 scp -r "build/$version" ytdl@yt-dl.org:html/tmp/
 ssh ytdl@yt-dl.org "mv html/tmp/$version html/downloads/"
-ssh ytdl@yt-dl.org "cd html/ && sh update_latest.sh $version"
+ssh ytdl@yt-dl.org "sh html/update_latest.sh $version"
 
 /bin/echo -e "\n### Now switching to gh-pages..."
 git clone --branch gh-pages --single-branch . build/gh-pages