Merge pull request #73 from incuna/hooks-fix

Use $BIN_DIR in hooks.
This commit is contained in:
Kenneth Reitz
2013-04-09 10:25:13 -07:00
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