upgrade_repository.sh 236 Bytes
Newer Older
David Beniamine's avatar
David Beniamine committed
1 2 3 4 5 6 7 8 9
#!/bin/bash
DIR=`dirname $0`
cd $DIR
new_repository_url="https://gitecoles.grenoble.fr/grenoble/primtux-eole"
if [ ! -z "`git remote -v | awk '/tetras-libre/{print $2}'`" ]
then
    git remote set-url origin $new_repository_url
fi
cd -