From 44941d3375429194a77ee232aa0202c6409491b1 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Thu, 7 Aug 2014 02:09:27 +0200 Subject: [PATCH] libretro-fetch.sh - add fetch_no_pull function --- libretro-fetch.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libretro-fetch.sh b/libretro-fetch.sh index 14b36b27..c2024bcc 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -50,6 +50,13 @@ fetch_project() echo "=== Fetched ===" } +fetch_project_no_pull() +{ + echo "=== Fetching $3 ===" + git clone "$1" "$2" + echo "=== Fetched ===" +} + fetch_project_submodule() { echo "=== Fetching $3 ===" @@ -135,5 +142,5 @@ fetch_project "$REPO_BASE/libretro/libretro-vecx.git" "libretro-vecx" "libretro/ fetch_project "$REPO_BASE/libretro/retroarch-joypad-autoconfig.git" "libretro-joypad-autoconfig" "libretro/joypad-autoconfig" fetch_project "$REPO_BASE/libretro/libretro-manifest.git" "libretro-manifest" "libretro/libretro-manifest" fetch_project "$REPO_BASE/libretro/libretro-ppsspp.git" "libretro-ppsspp" "libretro/ppsspp" -fetch_project "$REPO_BASE/libretro/ppsspp-native.git" "libretro-ppsspp/native" "libretro/ppsspp/native" -fetch_project "$REPO_BASE/libretro/ppsspp-ffmpeg.git" "libretro-ppsspp/ffmpeg" "libretro/ppsspp/ffmpeg" +fetch_project_no_pull "$REPO_BASE/libretro/ppsspp-native.git" "libretro-ppsspp/native" "libretro/ppsspp/native" +fetch_project_no_pull "$REPO_BASE/libretro/ppsspp-ffmpeg.git" "libretro-ppsspp/ffmpeg" "libretro/ppsspp/ffmpeg"