From: Roland Häder Date: Wed, 9 Dec 2009 20:54:57 +0000 (+0000) Subject: Setup script fixed to set other externals for non-qa projects X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8e198942eeb044657515256fd7cd9631e8feddfa;p=core.git Setup script fixed to set other externals for non-qa projects --- 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. ---"