Update of /cvsroot/monetdb/clients/src/java
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24114

Modified Files:
      Tag: Clients_1-18
        version.sh 
Log Message:
Fix up version.sh script


Index: version.sh
===================================================================
RCS file: /cvsroot/monetdb/clients/src/java/version.sh,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -u -d -r1.3.2.2 -r1.3.2.3
--- version.sh  5 Jun 2007 18:02:32 -0000       1.3.2.2
+++ version.sh  6 Jun 2007 08:16:29 -0000       1.3.2.3
@@ -111,29 +111,25 @@
        ${file} | ${diff} ${file} - | ${patch}
 
 for file in \
-       "Makefile.ag" \
-       "../../../sql/NT/MonetDB4-SQL/MonetDB4-Installer.vdproj" \
-       "../../../sql/NT/MonetDB5-SQL/MonetDB5-Installer.vdproj" \
-       "../../../sql/src/jdbc/tests/Tests/Test_JdbcClient.SQL.bat" \
-       "../../../sql/src/jdbc/tests/Tests/Test.SQL.bat" \
-       "../../../pathfinder/NT/MonetDB-XQuery/MonetDB-XQuery.vdproj" \
-       "../../../pathfinder/NT/MonetDB4-XQuery/MonetDB4-Installer.vdproj" \
-       
"../../../pathfinder/tests/BugTracker/Tests/JDBC_250_results.SF-1730556.XQUERY.bat"
 \
+       Makefile.ag \
+       ../../../*/NT/MonetDB4-SQL/MonetDB4-Installer.vdproj \
+       ../../../*/NT/MonetDB5-SQL/MonetDB5-Installer.vdproj \
+       ../../../*/src/jdbc/tests/Tests/Test_JdbcClient.SQL.bat \
+       ../../../*/src/jdbc/tests/Tests/Test.SQL.bat \
+       ../../../*/NT/MonetDB-XQuery/MonetDB-XQuery.vdproj \
+       ../../../*/NT/MonetDB4-XQuery/MonetDB4-Installer.vdproj \
+       
../../../*/tests/BugTracker/Tests/JDBC_250_results.SF-1730556.XQUERY.bat \
        ; do
-       if [ -f ${file} ] ; then
+       if [[ -f ${file} ]] ; then
                for f in $FILES ; do
                        fr=${f//XXX/${NEW_MAJOR}.${NEW_MINOR}}
                        fo=${f//XXX/${ESC_MAJOR}.${ESC_MINOR}}
                        fo=${fo//./\\.}
-                       sed \
-                       -e "s|${fo}|$fr|g" \
+                       sed -e "s|${fo}|${fr}|g" \
                                ${file} | ${diff} ${file} - | ${patch}
                done
        else
-               echo
-               echo "'${file}' not found."
-               echo "Please do not forget to replace '${fo}' by '${fr}' in 
'.../${file#*../}'."
-               echo
+               echo "'${file##*../}' not found"
        fi
 done
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to