mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
fix update_website.sh to export $PATH instead of hardcoding paths to binaries (allows lessc to work)
This commit is contained in:
parent
4a1c5131f3
commit
66a3860173
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ REPO=git://github.com/bitcoin/bitcoin.org.git
|
||||||
WORKDIR=/tmp/bitcoin.org/
|
WORKDIR=/tmp/bitcoin.org/
|
||||||
DESTDIR=/var/www/
|
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
|
if test ! -d $WORKDIR; then
|
||||||
git clone $REPO $WORKDIR
|
git clone $REPO $WORKDIR
|
||||||
|
@ -18,7 +18,7 @@ git reset --hard
|
||||||
|
|
||||||
git clean -x -f -d
|
git clean -x -f -d
|
||||||
|
|
||||||
$JEKYLL
|
jekyll
|
||||||
|
|
||||||
rsync --delete -a $WORKDIR/_site/ $DESTDIR
|
rsync --delete -a $WORKDIR/_site/ $DESTDIR
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue