[gobolinux-devel] Re: [gobolinux-commits] tools/Compile/bin
NewVersion
Lucas C. Villa Real
lucasvr at gobolinux.org
Mon Aug 7 13:18:10 GMT 2006
On 8/7/06, Jonas Karlsson <jonka750 at student.liu.se> wrote:
> CVSROOT: /sources/goboscripts
> Module name: tools
> Changes by: Jonas Karlsson <mohjive> 06/08/07 10:49:22
>
> Modified files:
> Compile/bin : NewVersion
>
> Log message:
> Added some support for arch-specific recipes
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/tools/Compile/bin/NewVersion?cvsroot=goboscripts&r1=1.8&r2=1.9
>
> Patches:
> Index: NewVersion
> ===================================================================
> RCS file: /sources/goboscripts/tools/Compile/bin/NewVersion,v
> retrieving revision 1.8
> retrieving revision 1.9
> diff -u -b -r1.8 -r1.9
> --- NewVersion 6 Aug 2006 21:42:41 -0000 1.8
> +++ NewVersion 7 Aug 2006 10:49:22 -0000 1.9
> @@ -85,7 +85,6 @@
>
> [ -e "Recipe" ] || Die "Recipe file not found."
>
> -# TODO: Support for arch-specific Recipe
> mv Recipe Recipe.old
>
> if [ "$compileRecipeAuthor" != "" ]
> @@ -106,6 +105,15 @@
>
> rm Recipe.old
>
> +# Support for arch-specific Recipe
> +for arch in $compileSupportedArchitectures
Where's compileSupportedArchitectures being declared? Or is it coming
in another patch?
> +do
> + if [ -f $newrecipedir/$arch/Recipe ]
> + then
> + sed -i "s:$oldversion:$newversion:g;$leave_rows" $arch/Recipe
> + fi
> +done
s/'TAB'/3 spaces/g
> # TODO: support for arch-specific recipe
> . Recipe
>
> @@ -134,4 +142,12 @@
> Log_Normal "Recipe template for $packagename $newversion created"
> Log_Normal "Printing result ($newrecipedir/Recipe):"
> cat "$newrecipedir/Recipe"
> +for arch in $compileSupportedArchitectures
> +do
> + if [ -f $newrecipedir/$arch/Recipe ]
> + then
> + Log_Normal "Printing recipe for $arch architecture:"
> + cat "$newrecipedir/$arch/Recipe"
> + fi
> +done
Ditto here :-)
--
Lucas
powered by /dev/dsp
More information about the gobolinux-devel
mailing list