NWChem/contrib/mkdocs/preload.sh
Yuri Victorovich 7b3d60dce7 Fix bash shebangs: make /usr/bin/env find bash in paths
This is needed on FreeBSD and other systems where bash isn't located in /bin/bash.
2021-11-07 14:06:22 -08:00

8 lines
311 B
Bash
Executable file

#!/usr/bin/env bash
rm -rf nwchemgit.github.io_temp
git clone --depth 1 git@github.com:nwchemgit/nwchemgit.github.io.git nwchemgit.github.io_temp
cd nwchemgit.github.io_temp
git pull
patch -p1 < ../preload.patch
git pull;git commit -m preload index.html ; git push
rm -rf nwchemgit.github.io_temp