Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
Merge pull request heroku#73 from incuna/hooks-fix
Browse files Browse the repository at this point in the history
Use $BIN_DIR in hooks.
  • Loading branch information
Kenneth Reitz committed Apr 9, 2013
2 parents 727ff90 + 5be3e0c commit 5b55261
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bin/steps/hooks/post_compile
@@ -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
6 changes: 3 additions & 3 deletions bin/steps/hooks/pre_compile
@@ -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

0 comments on commit 5b55261

Please sign in to comment.