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

Commit

Permalink
proper permissions and use env to run build hook
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Dec 4, 2012
1 parent 4d88bbe commit af76398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ chmod +x boot.sh
# run a post build script from the app
if [ -d /app/www/.hooks ]; then
if [ -f /app/www/.hooks/build.sh ]; then
chmod +x /app/www/.hooks/build.sh
chmod 0755 /app/www/.hooks/build.sh
# run once, delete so we don't run it on subsequent dyno starts
/bin/bash /app/www/.hooks/build.sh
/usr/bin/env bash /app/www/.hooks/build.sh
rm /app/www/.hooks/build.sh
fi
fi
Expand Down

0 comments on commit af76398

Please sign in to comment.