Author: benm
Date: 2005-04-26 17:40:22 -0400 (Tue, 26 Apr 2005)
New Revision: 43624

Modified:
   trunk/release/packaging/shared-code.sh
Log:
fix

Modified: trunk/release/packaging/shared-code.sh
===================================================================
--- trunk/release/packaging/shared-code.sh      2005-04-26 21:35:27 UTC (rev 
43623)
+++ trunk/release/packaging/shared-code.sh      2005-04-26 21:40:22 UTC (rev 
43624)
@@ -46,8 +46,6 @@
 
 function latest_version ()
 {
-       [ "x$1" == x ] && return 1
-       
-       LATEST_VERSION=`ls -d -t -1  $* | head -n1`
-       return 0
+       LATEST_VERSION=`ls -d -t -1  $* | head -n1 &> /dev/null`
+       return [ ! "x$LATEST_VERSION" == x ]
 }
\ No newline at end of file

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to