Re: [Monetdb-developers] [Monetdb-checkins] clients/src/java version.sh, Clients_1-20, 1.10.2.6, 1.10.2.7
Fabian took care of applying these changes to java/version.sh; hence, I took care of preventing the automa[tgn]ic propagation. Stefan On Wed, Dec 05, 2007 at 10:55:02AM +0000, Fabian wrote:
Update of /cvsroot/monetdb/clients/src/java In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15410
Modified Files: Tag: Clients_1-20 version.sh Log Message: de-complicate.
( actually: - use shell globbing - avoid needless fork/execs - use bashisms for consistency - fix "$[f}" - don't do it difficult if it can be done simple )
Index: version.sh =================================================================== RCS file: /cvsroot/monetdb/clients/src/java/Attic/version.sh,v retrieving revision 1.10.2.6 retrieving revision 1.10.2.7 diff -u -d -r1.10.2.6 -r1.10.2.7 --- version.sh 5 Dec 2007 10:35:28 -0000 1.10.2.6 +++ version.sh 5 Dec 2007 10:55:00 -0000 1.10.2.7 @@ -112,15 +112,9 @@ ../../../sql/src/jdbc/tests/Tests/Test.SQL.bat \ ../../../sql/NT/MonetDB4-SQL/MonetDB4-SQL-Installer.vdproj \ ../../../sql/NT/MonetDB5-SQL/MonetDB5-SQL-Installer.vdproj \ - ../../../pathfinder/NT/MonetDB4-XQuery/MonetDB4-XQuery-Installer.vdproj \ + ../../../"*"/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 + file=$(eval echo ${file}) 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 Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
participants (1)
-
Stefan Manegold