summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/post-receive.githook4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/post-receive.githook b/bin/post-receive.githook
index 53de38c..ddd74c3 100755
--- a/bin/post-receive.githook
+++ b/bin/post-receive.githook
@@ -4,6 +4,10 @@ whoami
export LANG=en_US.UTF-8
unset GIT_DIR
+if ! type scss; then
+ . ~/.profile
+fi
+
if ! git merge-base --is-ancestor master pre-generated; then
dir="$(mktemp --tmpdir -d www-generate.XXXXXXXXXX)"
git clone "$PWD" "$dir"