diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-24 12:33:17 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-24 12:33:17 +0100 |
commit | 44382c5d82bf3bdcab4ce4331ba626ec1e0ff02e (patch) | |
tree | 9aa525aea935eff2a24988ddc50bb333a7ec9142 /bin | |
parent | acc0e8871d79ce62c41de03bbe31e265dd174902 (diff) |
pkg: vcs_fix_origin: the remote is a directory in newer git versions
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ function vcs_status { # Set the correct origin function vcs_fix_origin { - if [[ ! -f .git/remotes/origin ]] { + if [[ ! -e .git/remotes/origin ]] { git remote add origin $PKG_ROOT/$1 } git remote update &> /dev/null |