On 3/5/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > CVSROOT: /sources/goboscripts > Module name: tools > Changes by: Jonas Karlsson <mohjive> 07/03/05 19:27:59 > > Modified files: > Compile/bin : Compile > > Log message: > Small fix for direct recipe passing. > Stop the source directory from beeing cluttered with CVS/SVN > directories > > CVSWeb URLs: > http://cvs.savannah.gnu.org/viewcvs/tools/Compile/bin/Compile?cvsroot=goboscripts&r1=1.181&r2=1.182 > > Patches: > Index: Compile > =================================================================== > RCS file: /sources/goboscripts/tools/Compile/bin/Compile,v > retrieving revision 1.181 > retrieving revision 1.182 > diff -u -b -r1.181 -r1.182 > --- Compile 25 Feb 2007 14:21:53 -0000 1.181 > +++ Compile 5 Mar 2007 19:27:59 -0000 1.182 > @@ -393,8 +393,8 @@ > ################################################## > > #unset directrecipe > -# suport for direct recipe passing > -if [ -d "$(Arg 1)" -o "`echo $(Arg 1) | grep "/"`" ] || Ends_With > "--recipe.tar.bz2" "$(Arg 1)" > +# support for direct recipe passing > +if [ -f "$(Arg 1)/Recipe" -o "`echo $(Arg 1) | grep "/"`" ] || Ends_With > "--recipe.tar.bz2" "$(Arg 1)" > then > #directrecipe=yes > rawrecipes="$(Arg 1)" > @@ -715,13 +715,13 @@ > then > if ! [ "$dir" ] > then > - dir="$cvs_module" > + dir="${cvs_module}-cvs" > fi > elif [ "$svn" ] > then > if ! [ "$dir" ] > then > - dir="${appname}-${versionnumber}" > + dir="${appname}-svn"
Doesn't this break recipes that references $dir such as in pre_link()? -- Lucas powered by /dev/dsp _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel