oot: update force-change the repo url
authorJean Privat <jean@pryen.org>
Fri, 16 Jun 2017 18:42:59 +0000 (14:42 -0400)
committerJean Privat <jean@pryen.org>
Fri, 16 Jun 2017 18:42:59 +0000 (14:42 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

contrib/oot.sh

index ff29ba2..351e69d 100755 (executable)
@@ -21,6 +21,7 @@
 update_oot() {
        if test -d "$dir"; then
                echo "$name: git pull"
+               ../misc/jenkins/unitrun.sh "cmd-$name-remote" git --work-tree="$PWD/$dir" --git-dir="$PWD/$dir/.git" remote set-url origin "$repo"
                ../misc/jenkins/unitrun.sh "cmd-$name-pull" git --work-tree="$PWD/$dir" --git-dir="$PWD/$dir/.git" pull -f
        else
                echo "$name: git clone"