From: <lin...@us...> - 2009-06-10 13:05:41
|
Revision: 5928 http://octave.svn.sourceforge.net/octave/?rev=5928&view=rev Author: lindnerb Date: 2009-06-10 13:05:01 +0000 (Wed, 10 Jun 2009) Log Message: ----------- fix bug in regular expression separating forge package name and version when creating installer Modified Paths: -------------- trunk/octave-forge/admin/Windows/mingw32/gcc43_create_package.sh Modified: trunk/octave-forge/admin/Windows/mingw32/gcc43_create_package.sh =================================================================== --- trunk/octave-forge/admin/Windows/mingw32/gcc43_create_package.sh 2009-06-10 12:27:10 UTC (rev 5927) +++ trunk/octave-forge/admin/Windows/mingw32/gcc43_create_package.sh 2009-06-10 13:05:01 UTC (rev 5928) @@ -74,8 +74,8 @@ DF=`find ${PACKAGE_ROOT}/share/octave/packages/ -maxdepth 1 -mindepth 1` for a in $DF; do - PACKNAME=`echo $a | sed -ne "s+^.*/\(.\+\)-\([0-9]\.[0-9]\.[0-9]\)$+\1+p"` - PACKVER=`echo $a | sed -ne "s+^.*/\(.\+\)-\([0-9]\.[0-9]\.[0-9]\)$+\2+p"` + PACKNAME=`echo $a | sed -ne "s+^.*/\(.\+\)-\([0-9]\+\.[0-9]\+\.[0-9]\+\)$+\1+p"` + PACKVER=`echo $a | sed -ne "s+^.*/\(.\+\)-\([0-9]\+\.[0-9]\+\.[0-9]\+\)$+\2+p"` PACKNAMEVER=$PACKNAME-$PACKVER This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |