Skip to content
Permalink
Browse files

fix: some environment may not have $UID $GID

  • Loading branch information...
JavaCS3 committed Mar 27, 2019
1 parent 0f9ee05 commit 42573c062c6f070162384eca7a7f03de1f67ac39
Showing with 1 addition and 1 deletion.
  1. +1 −1 envsetup.sh
@@ -471,7 +471,7 @@ dkr() {
-v $SSH_AUTH_DIR:/ssh-agent \
-e SSH_AUTH_SOCK=/ssh-agent \
-e MACHINE=$MACHINE \
--user $UID:$GID \
--user $(id -u):$(id -g) \
${DOCKER_REPO} /bin/bash -c "cd $(pwd) && . envsetup.sh && $CMD $2 $3 $4 $5 $6 $7 $8"
}

0 comments on commit 42573c0

Please sign in to comment.
You can’t perform that action at this time.