[banshee] build: use an env var for git in checkout-banshee.bat
- From: Andrés Aragoneses <aaragoneses src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] build: use an env var for git in checkout-banshee.bat
- Date: Sat, 20 Apr 2013 20:50:55 +0000 (UTC)
commit 4721438428199af14fc18374045be5e331dbf835
Author: Andres G. Aragoneses <knocte gmail com>
Date: Sat Apr 20 21:50:47 2013 +0100
build: use an env var for git in checkout-banshee.bat
This way it is easier for someone to change the .bat file to point to
git's path in case it is not in their system's PATH.
build/windows/checkout-banshee.bat | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/build/windows/checkout-banshee.bat b/build/windows/checkout-banshee.bat
index 6fd4901..5e66609 100644
--- a/build/windows/checkout-banshee.bat
+++ b/build/windows/checkout-banshee.bat
@@ -4,12 +4,13 @@ REM See banshee\build\windows\README.txt for more information
REM (this file is tracked in version control at:
http://git.gnome.org/browse/banshee/plain/build/windows/checkout-banshee.bat )
@echo off
-call git clone git://git.gnome.org/banshee
+set GIT_PATH="git"
+call %GIT_PATH% clone git://git.gnome.org/banshee
if not exist banshee goto failure
cd banshee
-call git submodule update --init
-call git clone git://gitorious.org/banshee/windows-binaries.git bin
+call %GIT_PATH% submodule update --init
+call %GIT_PATH% clone git://gitorious.org/banshee/windows-binaries.git bin
if not exist bin goto failure
echo "Checkout script finished. Banshee is now checked out into the banshee folder. Build it with
build\windows\build-banshee.bat or your favorite IDE using Banshee.sln"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]