diff --git a/bin/steps/hooks/post_compile b/bin/steps/hooks/post_compile index a5f4c5a224162a578a268895a7b0732ca61d1226..636d63909262a6a05b599f45059901ad11b0d2db 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 e5eeddf55e0bedbb62d074df099bbbaaa6708447..a6d65a6a90ca6e8c4c41bf8ace8be02cf8c943b6 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