Skip to content

Commit

Permalink
git config doesn't always exit with 0, but we don't care
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnewton committed May 15, 2019
1 parent bc007a2 commit 2f1bc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docker/crossbuild/crossbuild.mk
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ $(DD)/docker.run.${1}: $(DD)/stamp-up.${1}
@echo "REFRESH ${1}"
@docker container exec $(CB_CPREFIX)${1} sh -c 'rsync -a /srv/src/ /srv/local-src/'
@docker container exec $(CB_CPREFIX)${1} sh -c 'git config -f /srv/local-src/config core.bare true'
@docker container exec $(CB_CPREFIX)${1} sh -c 'git config -f /srv/local-src/config --unset core.worktree'
@docker container exec $(CB_CPREFIX)${1} sh -c 'git config -f /srv/local-src/config --unset core.worktree || true'
@docker container exec $(CB_CPREFIX)${1} sh -c '[ -d /srv/build ] || git clone /srv/local-src /srv/build'
@docker container exec $(CB_CPREFIX)${1} sh -c '(cd /srv/build && git pull --rebase)'
@docker container exec $(CB_CPREFIX)${1} sh -c '[ -e /srv/build/config.log ] || echo CONFIGURE ${1}'
Expand Down

0 comments on commit 2f1bc4a

Please sign in to comment.