[csw-devel] SF.net SVN: opencsw:[323] gar-wrapper/mgar

skayser at users.sourceforge.net skayser at users.sourceforge.net
Wed Feb 23 10:35:59 CET 2011


Revision: 323
          http://opencsw.svn.sourceforge.net/opencsw/?rev=323&view=rev
Author:   skayser
Date:     2011-02-23 09:35:58 +0000 (Wed, 23 Feb 2011)

Log Message:
-----------
mgar: fix $PATH handling for assert_required_tools (thanks bwalton)

Modified Paths:
--------------
    gar-wrapper/mgar

Modified: gar-wrapper/mgar
===================================================================
--- gar-wrapper/mgar	2011-02-23 09:33:42 UTC (rev 322)
+++ gar-wrapper/mgar	2011-02-23 09:35:58 UTC (rev 323)
@@ -56,7 +56,7 @@
 
 function assert_required_tools {
   for tool in $REQ_TOOLS; do
-    for dir in ${PATH/:/ /}; do
+    for dir in ${PATH//:/ }; do
       [ -x $dir/$tool ] && continue 2
     done
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list