diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-24 12:35:32 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-24 12:35:32 +0100 |
commit | 1b7c674d7f4f02b3d292a17d93fac883fd457424 (patch) | |
tree | 2b12c18c7f680d462e5faea127e0a090bbc6e491 /bin/pkg | |
parent | 44382c5d82bf3bdcab4ce4331ba626ec1e0ff02e (diff) |
pkg: Whoops, really apply change to vcs_fix_origin
Diffstat (limited to 'bin/pkg')
-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 [[ ! -e .git/remotes/origin ]] { + if [[ ! -r .git/remotes/origin && ! -r .git/refs/remotes/origin ]] { git remote add origin $PKG_ROOT/$1 } git remote update &> /dev/null |