From ea93cce4f60fc90a3cfb22c59b52c60d9be8fffd Mon Sep 17 00:00:00 2001
From: Philipp Hagemeister <phihag@phihag.de>
Date: Tue, 25 Jun 2013 20:50:54 +0200
Subject: [PATCH] Directly call update_latest

---
 devscripts/release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devscripts/release.sh b/devscripts/release.sh
index 320a8fa0f..46c31e437 100755
--- a/devscripts/release.sh
+++ b/devscripts/release.sh
@@ -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