summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {