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

Modified Files:
        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/java/version.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- version.sh  5 Dec 2007 10:07:23 -0000       1.5
+++ version.sh  5 Dec 2007 10:35:35 -0000       1.6
@@ -124,6 +124,13 @@
        ../sql/NT/MonetDB5-SQL{,64}/MonetDB5-SQL-Installer.vdproj \
        ../pathfinder/NT/MonetDB4-XQuery{,64}/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