[csw-devel] SF.net SVN: gar:[3877] csw/mgar/pkg/fixme/trunk/fixme.sh
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Mon Mar 23 16:28:36 CET 2009
Revision: 3877
http://gar.svn.sourceforge.net/gar/?rev=3877&view=rev
Author: dmichelsen
Date: 2009-03-23 15:28:36 +0000 (Mon, 23 Mar 2009)
Log Message:
-----------
fixme.sh: Fix when multiple ltmain.sh exist
Modified Paths:
--------------
csw/mgar/pkg/fixme/trunk/fixme.sh
Modified: csw/mgar/pkg/fixme/trunk/fixme.sh
===================================================================
--- csw/mgar/pkg/fixme/trunk/fixme.sh 2009-03-23 15:07:12 UTC (rev 3876)
+++ csw/mgar/pkg/fixme/trunk/fixme.sh 2009-03-23 15:28:36 UTC (rev 3877)
@@ -43,10 +43,9 @@
gchmod +x ${lt}
done
-LTMAIN=$(gfind ${BASEPATH} -name ltmain.sh -print)
-if [ -f ${LTMAIN} ]; then
+for LTMAIN in $(gfind ${BASEPATH} -name ltmain.sh -print); do
gsed "/for search_ext in .*\.la/s/\.la//" ${LTMAIN} >${LTMAIN}.new
gmv ${LTMAIN}.new ${LTMAIN}
gchmod +x ${LTMAIN}
-fi
+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