diff --git a/scripts/lib/action.fish b/scripts/lib/action.fish index f6144d63..092e9a55 100644 --- a/scripts/lib/action.fish +++ b/scripts/lib/action.fish @@ -17,7 +17,7 @@ function runAction -V dir and runHook prepareAction || true echo "Flagging repository as safe..." - git config --system --add safe.directory (realpath "$(status dirname)/../..") + sudo git config --system --add safe.directory (realpath "$(status dirname)/../..") and runHook preAction || true $argv