Skip to content

Commit

Permalink
local: allow setting $DHALL_LOCAL_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
timbertson committed Apr 5, 2021
1 parent ef9b261 commit b76d80a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maintenance/local
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ function restore_remote {

function find_all {
base_dir="$(dirname "$0")"
base_dir="${DHALL_LOCAL_ROOT:-$base_dir}"
log "base_dir: $base_dir"
find "$base_dir" -name '*.dhall.local' | while read f; do
path="$(dirname "$f")/$(basename "$f" .local)"
Expand Down

0 comments on commit b76d80a

Please sign in to comment.