]> git.bitcoin.ninja Git - youtube-dl/commitdiff
fix location of updates_key in devscripts/release
authorPhilipp Hagemeister <phihag@phihag.de>
Sat, 12 Jan 2013 17:05:19 +0000 (18:05 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sat, 12 Jan 2013 17:07:31 +0000 (18:07 +0100)
devscripts/release.sh

index 94f229f0e68af6a5f799a169ef6277666ce0dc59..afd3fb16cf76f813e2233a68fbaa970bff8d4bf6 100755 (executable)
@@ -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