diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-10 03:08:13 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-10 03:08:13 +0200 |
commit | 84dbde7d04a04434721ec9d2965af6d946713e5d (patch) | |
tree | 9369ab391e06f784eef1af34829e6b8b8101beb0 /src/blogc-git-receiver | |
parent | 88c8b6bde982b31245e6503950b29b330617b387 (diff) | |
download | blogc-84dbde7d04a04434721ec9d2965af6d946713e5d.tar.gz blogc-84dbde7d04a04434721ec9d2965af6d946713e5d.tar.bz2 blogc-84dbde7d04a04434721ec9d2965af6d946713e5d.zip |
trying to fix tests on travis
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r-- | src/blogc-git-receiver/post-receive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc-git-receiver/post-receive.c b/src/blogc-git-receiver/post-receive.c index 79c51ac..dc29fa3 100644 --- a/src/blogc-git-receiver/post-receive.c +++ b/src/blogc-git-receiver/post-receive.c @@ -52,8 +52,8 @@ bgr_post_receive_hook(int argc, char *argv[]) // the 'mirror' remote, just push to it. // this will be removed at some point, but will be kept for compatibility // with old setups. - if ((0 == system("git config --local remote.mirror.pushurl &> /dev/null")) || - (0 == system("git config --local remote.mirror.url &> /dev/null"))) + if ((0 == system("git config -f config --get remote.mirror.pushurl &> /dev/null")) || + (0 == system("git config -f config --get remote.mirror.url &> /dev/null"))) { mirror = bc_strdup("mirror"); goto push; |