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

Commit

Permalink
load hooks with source rather than /bin/bash
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Apr 26, 2012
1 parent 2283a3b commit e32a0bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export PHP_INI_SCAN_DIR=/app/www
if [ -d www/.hooks ]; then
for file in www/.hooks/*.sh; do
if [ -f \$file ]; then
/bin/bash \$file
source \$file
fi
done
fi
Expand Down

0 comments on commit e32a0bb

Please sign in to comment.