Skip to content

Commit

Permalink
load hooks from the right repo
Browse files Browse the repository at this point in the history
  • Loading branch information
unRob committed Oct 26, 2021
1 parent c480eb6 commit 584c6a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions milpa
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ set +o allexport
rm -rf "$compaOut" "$compaErr"

# Run hooks if available
if [[ -f "$MILPA_COMMAND_REPO/.milpa/hooks/before-run.sh" ]]; then
if [[ -f "$MILPA_COMMAND_REPO/hooks/before-run.sh" ]]; then
set -o allexport
# shellcheck disable=1091 source=/dev/null
source "$MILPA_COMMAND_REPO/.milpa/hooks/before-run.sh"
source "$MILPA_COMMAND_REPO/hooks/before-run.sh"
set +o allexport
fi

Expand Down

0 comments on commit 584c6a5

Please sign in to comment.