From 1b785ad8d715d9bc5b184b6a083cd0b4b8c3a1cc Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 30 Apr 2013 16:23:36 +0200 Subject: [PATCH] Pass WRITERIGHTS=1 to libretro-fetch.sh to get repo copies that can be used for committers --- libretro-fetch.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libretro-fetch.sh b/libretro-fetch.sh index 639cdc72..eaa102dc 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -1,6 +1,5 @@ #!/bin/sh - # Keep three copies so we don't have to rebuild stuff all the time. fetch_project_bsnes() { @@ -49,7 +48,11 @@ fetch_project() echo "=== Fetched ===" } -REPO_BASE="git://github.com" +if [ -z $WRITERIGHTS ]; then + REPO_BASE="https://github.com" +else + REPO_BASE="git://github.com" +fi fetch_project_bsnes "git://gitorious.org/bsnes/bsnes.git --branch libretro" "libretro-bsnes" "libretro/bSNES" fetch_project "$REPO_BASE/snes9xgit/snes9x.git" "libretro-s9x" "libretro/SNES9x"