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

Modified Files:
      Tag: Clients_1-20
        version.sh 
Log Message:

short-term symptom-cure:
try to handle renamed sql & pathfinder checkouts
(any alternative proper long-term fix is more than welcome)


Index: version.sh
===================================================================
RCS file: /cvsroot/monetdb/clients/src/java/Attic/version.sh,v
retrieving revision 1.10.2.5
retrieving revision 1.10.2.6
diff -u -d -r1.10.2.5 -r1.10.2.6
--- version.sh  5 Dec 2007 10:07:11 -0000       1.10.2.5
+++ version.sh  5 Dec 2007 10:35:28 -0000       1.10.2.6
@@ -114,6 +114,13 @@
        ../../../sql/NT/MonetDB5-SQL/MonetDB5-SQL-Installer.vdproj \
        ../../../pathfinder/NT/MonetDB4-XQuery/MonetDB4-XQuery-Installer.vdproj 
\
        ; do
+       if [[ ! -f ${file} ]] ; then
+               f="`echo ${file} | sed 's=\.\./\(sql\|pathfinder\)/=../*/='`"
+               f="`ls ${f} 2>/dev/null`"
+               if [[ -f $[f} ]] ; then
+                       file=${f}
+               fi
+       fi
        if [[ -f ${file} ]] ; then
                for f in $FILES ; do
                        fr=${f//XXX/${NEW_MAJOR}.${NEW_MINOR}}


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to