[csw-devel] SF.net SVN: gar:[17576] csw/mgar/pkg/gcc4/trunk/files/customize_specs.sh
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Mar 28 21:08:40 CEST 2012
Revision: 17576
http://gar.svn.sourceforge.net/gar/?rev=17576&view=rev
Author: wahwah
Date: 2012-03-28 19:08:40 +0000 (Wed, 28 Mar 2012)
Log Message:
-----------
gcc4/trunk: filter out surplus $(VERSION) directories
Modified Paths:
--------------
csw/mgar/pkg/gcc4/trunk/files/customize_specs.sh
Modified: csw/mgar/pkg/gcc4/trunk/files/customize_specs.sh
===================================================================
--- csw/mgar/pkg/gcc4/trunk/files/customize_specs.sh 2012-03-28 10:09:30 UTC (rev 17575)
+++ csw/mgar/pkg/gcc4/trunk/files/customize_specs.sh 2012-03-28 19:08:40 UTC (rev 17576)
@@ -20,5 +20,10 @@
-e \
'/\*lib:/,+1 s+%.*+& %{m64:-R /opt/csw/lib/64 } %{!m64:-R /opt/csw/lib}+' \
specs
- gmv -v specs "$(gfind ${DESTDIR}/opt/csw/lib -name ${VERSION} -type d -print)"
+ # Since the inclusion of the Go language, there are 3 directories named
+ # $(VERSION). Two of them are related to the language, and can be filtered
+ # out by matching "/go/".
+ target="$(gfind ${DESTDIR}/opt/csw/lib -name ${VERSION} -type d -print \
+ | ggrep -v /go/)"
+ gmv -v specs "${target}"
fi
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