Skip to content
Permalink
Browse files

fix(build.sh): switch to build_root before running hooks

  • Loading branch information...
Matthew Fisher
Matthew Fisher committed Aug 27, 2016
1 parent 25a8e0d commit 37c5109557a3005e3f0afd5f224781c609a8f6b4
Showing with 4 additions and 0 deletions.
  1. +4 −0 rootfs/builder/build.sh
@@ -142,7 +142,9 @@ fi
## Run pre-compile hook

if [[ -f "$build_root/bin/pre-compile" ]]; then
pushd "$build_root" &> /dev/null
"$build_root/bin/pre-compile"
popd &>/dev/null
fi

## Buildpack compile
@@ -154,7 +156,9 @@ fi
## Run post-compile hook

if [[ -f "$build_root/bin/post-compile" ]]; then
pushd "$build_root" &> /dev/null
"$build_root/bin/post-compile"
popd &>/dev/null
fi

## Display process types

0 comments on commit 37c5109

Please sign in to comment.
You can’t perform that action at this time.