From: <lin...@us...> - 2010-03-25 19:09:22
|
Revision: 7123 http://octave.svn.sourceforge.net/octave/?rev=7123&view=rev Author: lindnerb Date: 2010-03-25 19:09:16 +0000 (Thu, 25 Mar 2010) Log Message: ----------- mingw32: fix forge package dependency search code Modified Paths: -------------- trunk/octave-forge/admin/Windows/mingw32/gcc44_create_package.sh Modified: trunk/octave-forge/admin/Windows/mingw32/gcc44_create_package.sh =================================================================== --- trunk/octave-forge/admin/Windows/mingw32/gcc44_create_package.sh 2010-03-25 18:42:10 UTC (rev 7122) +++ trunk/octave-forge/admin/Windows/mingw32/gcc44_create_package.sh 2010-03-25 19:09:16 UTC (rev 7123) @@ -65,7 +65,8 @@ DF=`find ${PACKAGE_ROOT}/share/octave/packages/ -name DESCRIPTION` for a in $DF; do - PACK=`echo $a | sed -e "s/^.*packages\/\([a-zA-Z-]\+\)-.*$/\1/"` + PACK=`echo $a | sed -e "s/^.*packages\/\([a-zA-Z0-9_-]\+\)-[0-9]\+\.[0-9]\+\.[0-9]\+\/.*$/\1/"` + echo PACK=$PACK>&2 sed -ne "s/^[dD]epends: *//p" $a | \ awk -F ', ' '{c=split($0, s); for(n=1; n<=c; ++n) printf("%s\n", s[n]) }' | \ sed -n -e "s/^octave.*$//" -e "s/^\([a-zA-Z0-9_-]\+\).*$/\!insertmacro CheckDependency \${SEC_FORGE_${PACK}} \${SEC_FORGE_\1}/p" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |