From 66a38601732bcdbe14fcd892ce71c7cad7528a1f Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Fri, 16 Sep 2011 20:00:57 +0200 Subject: [PATCH] fix update_website.sh to export $PATH instead of hardcoding paths to binaries (allows lessc to work) --- _contrib/update_website.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_contrib/update_website.sh b/_contrib/update_website.sh index b5d21c5f..15252b4c 100644 --- a/_contrib/update_website.sh +++ b/_contrib/update_website.sh @@ -4,7 +4,7 @@ REPO=git://github.com/bitcoin/bitcoin.org.git WORKDIR=/tmp/bitcoin.org/ DESTDIR=/var/www/ -JEKYLL=/var/lib/gems/1.8/bin/jekyll +export PATH=/var/lib/gems/1.8/bin/:$PATH if test ! -d $WORKDIR; then git clone $REPO $WORKDIR @@ -18,7 +18,7 @@ git reset --hard git clean -x -f -d -$JEKYLL +jekyll rsync --delete -a $WORKDIR/_site/ $DESTDIR