Add GIT variable to name the repository

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9628 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2009-03-08 19:30:06 +00:00
parent ea55ffe420
commit 08de6e2de9

View File

@ -69,6 +69,10 @@ GPG="/usr/bin/gpg -ab --batch --comment 'To verify this, you can download our pu
# SVN Repository # SVN Repository
# #
SVN=https://shorewall.svn.sourceforge.net/svnroot/shorewall SVN=https://shorewall.svn.sourceforge.net/svnroot/shorewall
#
# GIT Repository
#
GIT=~/shorewall/
################################################################################ ################################################################################
# V A R I A B L E S # V A R I A B L E S
################################################################################ ################################################################################
@ -313,17 +317,17 @@ case $VERSION in
XMLPROJ="docs-4.3" XMLPROJ="docs-4.3"
if [ -n "$USEGIT" ]; then if [ -n "$USEGIT" ]; then
SVNBRANCH="~/git/Shorewall" SVNBRANCH="${GIT}/trunk/Shorewall"
SVN6BRANCH="~/git/Shorewall6" SVN6BRANCH="${GIT}/trunk/Shorewall6"
LITESVNBRANCH="~/git/Shorewall-lite" LITESVNBRANCH="${GIT}/trunk/Shorewall-lite"
LITE6SVNBRANCH="~/git/Shorewall6-lite" LITE6SVNBRANCH="${GIT}/trunk/Shorewall6-lite"
DOCTAG="~/git/docs" DOCTAG="${GIT}/trunk/docs"
SAMPLESTAG="~/git/Samples" SAMPLESTAG="${GIT}/trunk/Samples"
SAMPLES6TAG="~/git/Samples6" SAMPLES6TAG="${GIT}/trunk/Samples6"
MANPAGETAG=~/git//manpages MANPAGETAG=${GIT}/trunk//manpages
MANPAGE6TAG=~/git/manpages6 MANPAGE6TAG=${GIT}/trunk/manpages6
LITEMANPAGETAG=~/git/manpages-lite LITEMANPAGETAG=${GIT}/trunk/manpages-lite
LITE6MANPAGETAG=~/git/manpages6-lite LITE6MANPAGETAG=${GIT}/trunk/manpages6-lite
else else
SVNBRANCH="trunk/Shorewall" SVNBRANCH="trunk/Shorewall"
SVN6BRANCH="trunk/Shorewall6" SVN6BRANCH="trunk/Shorewall6"
@ -918,8 +922,8 @@ done
if [ -n "$PATCHRELEASE" ]; then if [ -n "$PATCHRELEASE" ]; then
if [ -n "$USEGIT" ]; then if [ -n "$USEGIT" ]; then
if [ -f ~/git/tags/${BASEVERSION}/known_problems.txt ]; then if [ -f ${GIT}/tags/${BASEVERSION}/known_problems.txt ]; then
cp ~/git/tags/${BASEVERSION}/known_problems.txt . cp ${GIT}/tags/${BASEVERSION}/known_problems.txt .
fi fi
else else
svn update ~/shorewall/tags/${BASEVERSION} svn update ~/shorewall/tags/${BASEVERSION}