summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2015-12-11 15:14:34 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2015-12-11 15:20:25 +0000
commit2af4bbde64da7478f3320ef1ffe38f5e85dd29a8 (patch)
tree2feb872c5dc70836bddd86ea853451871dab4844
parenta3cca4130aa9bc12f27444b84c314b24181fec9f (diff)
Don't configure a push url for xserver repository
-rwxr-xr-xjhbuild_repository_configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/jhbuild_repository_configure b/jhbuild_repository_configure
index 54a53ac..e602a81 100755
--- a/jhbuild_repository_configure
+++ b/jhbuild_repository_configure
@@ -61,7 +61,9 @@ function repository_configure ()
git config --replace-all format.subjectprefix "$SUBJECT"
- git remote set-url --push origin `git config remote.origin.url | sed s#git://anongit#ssh://git#`
+ if [ $i != "xserver" ]; then
+ git remote set-url --push origin `git config remote.origin.url | sed s#git://anongit#ssh://git#`
+ endif
cd - >/dev/null