From 5be3e0ce52df92565a5bdc620388726387a354b0 Mon Sep 17 00:00:00 2001
From: Marc Tamlyn <marc.tamlyn@gmail.com>
Date: Fri, 11 Jan 2013 10:50:59 +0000
Subject: [PATCH] Use $BIN_DIR in hooks.

---
 bin/steps/hooks/post_compile | 6 +++---
 bin/steps/hooks/pre_compile  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/steps/hooks/post_compile b/bin/steps/hooks/post_compile
index a5f4c5a2..636d6390 100644
--- a/bin/steps/hooks/post_compile
+++ b/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
\ No newline at end of file
diff --git a/bin/steps/hooks/pre_compile b/bin/steps/hooks/pre_compile
index e5eeddf5..a6d65a6a 100644
--- a/bin/steps/hooks/pre_compile
+++ b/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
\ No newline at end of file
-- 
GitLab