From bb28998920148e0d847333518451e046b21c2da6 Mon Sep 17 00:00:00 2001
From: Philipp Hagemeister <phihag@phihag.de>
Date: Sat, 12 Jan 2013 18:05:19 +0100
Subject: [PATCH] fix location of updates_key in devscripts/release

---
 devscripts/release.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devscripts/release.sh b/devscripts/release.sh
index 94f229f0e..afd3fb16c 100755
--- a/devscripts/release.sh
+++ b/devscripts/release.sh
@@ -69,7 +69,7 @@ ROOT=$(pwd)
     cd build/gh-pages
     ORIGIN_URL=$(git config --get remote.origin.url)
     "$ROOT/devscripts/gh-pages/add-version.py" $version
-    "$ROOT/devscripts/gh-pages/sign-versions.py" < updates_key.pem
+    "$ROOT/devscripts/gh-pages/sign-versions.py" < "$ROOT/updates_key.pem"
     "$ROOT/devscripts/gh-pages/generate-download.py"
     "$ROOT/devscripts/gh-pages/update-copyright.py"
     git add *.html *.html.in update
@@ -78,7 +78,7 @@ ROOT=$(pwd)
     read -p "Is it good, can I push? (y/n) " -n 1
     if [[ ! $REPLY =~ ^[Yy]$ ]]; then exit 1; fi
     echo
-    git push $ORIGIN_URL gh-pages
+    git push "$ORIGIN_URL" gh-pages
 )
 rm -r build