From 8e198942eeb044657515256fd7cd9631e8feddfa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 9 Dec 2009 20:54:57 +0000 Subject: [PATCH] Setup script fixed to set other externals for non-qa projects --- .gitattributes | 1 + application-external.txt | 3 +++ setup-repos.sh | 9 ++++++--- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 application-external.txt diff --git a/.gitattributes b/.gitattributes index 1c4f05ab..04db7bb2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ * text=auto !eol +/application-external.txt -text docs/COPYING -text docs/COPYING.documents -text docs/COPYING.software -text diff --git a/application-external.txt b/application-external.txt new file mode 100644 index 00000000..d21f5f81 --- /dev/null +++ b/application-external.txt @@ -0,0 +1,3 @@ +admin http://www.ship-simu.org/repos/admin/trunk/application/admin/ +install http://www.ship-simu.org/repos/install/trunk/application/install/ +qa http://www.ship-simu.org/repos/qa/trunk/application/qa/ diff --git a/setup-repos.sh b/setup-repos.sh index 41db15aa..bd7820ab 100755 --- a/setup-repos.sh +++ b/setup-repos.sh @@ -30,9 +30,12 @@ echo "$0: Linking to external 'core' repository ..." svn propset svn:externals -F ../../core/trunk/svn-externals.txt . || exit 255 if (test "$1" != "admin" && test "$1" != "install"); then cd application/ - svn propset svn:externals "admin http://www.ship-simu.org/repos/admin/trunk/application/admin/ -install http://www.ship-simu.org/repos/install/trunk/application/install/ -qa http://www.ship-simu.org/repos/qa/trunk/application/qa/" . || exit 255 + if test "$1" != "qa"; then + svn propset svn:externals -F ../../../core/trunk/application-external.txt . || exit 255 + else + svn propset svn:externals "admin http://www.ship-simu.org/repos/admin/trunk/application/admin/ +install http://www.ship-simu.org/repos/install/trunk/application/install/" . || exit 255 + fi cd .. # trunk else echo "$0: --- Not setting admin external source. ---" -- 2.30.2