fix update_website.sh to export $PATH instead of hardcoding paths to binaries (allows lessc to work)

This commit is contained in:
Nils Schneider 2011-09-16 20:00:57 +02:00
parent 4a1c5131f3
commit 66a3860173

View file

@ -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