diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-24 12:32:04 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-24 12:32:04 +0100 |
commit | acc0e8871d79ce62c41de03bbe31e265dd174902 (patch) | |
tree | 46c70287b9613f1fd7a25edba73d837a5df9200f /bin | |
parent | ff5d9a5b255bb5703369d959cee913fc06fc33fb (diff) | |
parent | 47283afe3374205659d9268bcc858f5ec832217d (diff) |
Merge branch 'master' of /home/derf/var/packages_root/core/
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -262,9 +262,9 @@ function vcs_status { # Set the correct origin function vcs_fix_origin { - if ! git remote | grep -F origin &> /dev/null; then + if [[ ! -f .git/remotes/origin ]] { git remote add origin $PKG_ROOT/$1 - fi + } git remote update &> /dev/null } |