Permalink
Browse files

oebb: only write to env file from a single place

This fixes the missing git proxy when rewriting stale environment files

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent e5a3790 commit 66f12b9a11cdd10f73eadc0b3f8a98444995f925 @koenkooi koenkooi committed May 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 oebb.sh
View
2 oebb.sh
@@ -124,6 +124,7 @@ else
echo "export ftp_proxy=\"${ftp_proxy}\"" >> ${OE_ENV_FILE}
echo "export SVN_CONFIG_DIR=\"${SVN_CONFIG_DIR}\"" >> ${OE_ENV_FILE}
echo "export GIT_CONFIG_DIR=\"${GIT_CONFIG_DIR}\"" >> ${OE_ENV_FILE}
+ echo "export GIT_PROXY_COMMAND=\"\${GIT_CONFIG_DIR}/git-proxy.sh\"" >> ${OE_ENV_FILE}
config_svn_proxy
config_git_proxy
@@ -320,7 +321,6 @@ fi
_EOF
chmod +x ${GIT_CONFIG_DIR}/git-proxy.sh
export GIT_PROXY_COMMAND=${GIT_CONFIG_DIR}/git-proxy.sh
- echo "export GIT_PROXY_COMMAND=\"\${GIT_CONFIG_DIR}/git-proxy.sh\"" >> ${OE_ENV_FILE}
fi
}

0 comments on commit 66f12b9

Please sign in to comment.