Module: setup-scripts
Branch: oe-core
Commit: 66f12b9a11cdd10f73eadc0b3f8a98444995f925

Author: Koen Kooi <k...@dominion.thruhere.net>
Date:   Thu May  5 11:15:49 2011 +0200

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 <k...@dominion.thruhere.net>

---

 oebb.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/oebb.sh b/oebb.sh
index d3cfe45..7e4ac57 100755
--- a/oebb.sh
+++ b/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
 }
 


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to