Use $BIN_DIR in hooks.

This commit is contained in:
Marc Tamlyn
2013-01-11 10:50:59 +00:00
parent ddde30a12e
commit 5be3e0ce52
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [ -f bin/post_compile ]; then
if [ -f $BIN_DIR/post_compile ]; then
echo "-----> Running post-compile hook"
chmod +x bin/post_compile
bin/post_compile
chmod +x $BIN_DIR/post_compile
$BIN_DIR/post_compile
fi
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [ -f bin/pre_compile ]; then
if [ -f $BIN_DIR/pre_compile ]; then
echo "-----> Running pre-compile hook"
chmod +x bin/pre_compile
bin/pre_compile
chmod +x $BIN_DIR/pre_compile
$BIN_DIR/pre_compile
fi