cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: r123111 - /cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh
Date Wed, 22 Dec 2004 15:30:29 GMT
Author: giacomo
Date: Wed Dec 22 07:30:27 2004
New Revision: 123111

URL: http://svn.apache.org/viewcvs?view=rev&rev=123111
Log:
fixed empty directory situation
Modified:
   cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh

Modified: cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh?view=diff&rev=123111&p1=cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh&r1=123110&p2=cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh&r2=123111
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh	(original)
+++ cocoon/branches/BRANCH_2_1_X/tools/bin/create-repository-jars.sh	Wed Dec 22 07:30:27 2004
@@ -115,7 +115,7 @@
 fi
 
 # check if the local repository exists and do a checkout/update accordingly
-if [ -d "$LOCAL_PATH" ]; then
+if [ -d "$LOCAL_PATH" -a -d "$LOCAL_PATH/.svn" ]; then
   cd $LOCAL_PATH
   if [ $NOSVN = 0 ]; then
     echo
@@ -124,6 +124,13 @@
     echo
     svn switch ${SVN_BASE_URL}/$REVISION_SUB_URL
   fi
+elif  [ -d "$LOCAL_PATH" ]; then
+  cd $LOCAL_PATH
+  echo
+  echo "checking out into the local repository at $LOCAL_PATH with "
+  echo "    svn co ${SVN_BASE_URL}/$REVISION_SUB_URL $LOCAL_PATH"
+  echo
+  svn co ${SVN_BASE_URL}/$REVISION_SUB_URL $LOCAL_PATH
 else
   DIRNAME=`dirname $LOCAL_PATH`
   BASENAME=`basename $LOCAL_PATH`

Mime
View raw message