summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-06-19 19:33:47 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-06-19 19:33:47 +0200
commit2d7641cd40320cc86291ce1468148e46bc0635ca (patch)
treeba151a149a25ae00c19db039ed2e706f4309d877 /bin
parenta7133ed7c1aea6ecce94c4a37e6f8eb3985b1aba (diff)
pkg: vcs_setup: Set GIT_CONFIG
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index ce6645e..59c46cd 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -221,8 +221,9 @@ function progress {
## VCS Wrappers
function vcs_setup {
- export GIT_DIR=$PKG_DIR/$1/.git
export GIT_WORK_TREE=$PKG_DIR/$1
+ export GIT_DIR=$GIT_WORK_TREE/.git
+ export GIT_CONFIG=$GIT_DIR/config
}
function vcs_to_list {