[gobolinux-devel] Re: [gobolinux-commits] tools/Compile/bin Compile MakeRecipe

Jonas Karlsson jonka750 at student.liu.se
Sat Aug 12 07:31:43 GMT 2006


On Sat, 12 Aug 2006 05:13:12 +0200, Lucas C. Villa Real  
<lucasvr at gobolinux.org> wrote:

> On 8/11/06, Jonas Karlsson <jonka750 at student.liu.se> wrote:
>> CVSROOT:        /sources/goboscripts
>> Module name:    tools
>> Changes by:     Jonas Karlsson <mohjive>        06/08/11 21:29:03
>>
>> Modified files:
>>         Compile/bin    : Compile MakeRecipe
>>
>> Log message:
>>         svn only needs an uri
>
> But it "can" optionally receive a module argument. Both modes are valid:
> svn checkout svn://anonsvn.opensource.apple.com/svn/webkit/trunk/WebKit
> svn checkout svn://anonsvn.opensource.apple.com/svn/webkit/trunk WebKit
>
I think you missed to put an argument on one of the above. :)

> Maybe add a check for an extra argument? If there wasn't one supplied,
> assume that the uri already contains all information needed. By the
> way, I don't know how Compile is going to deduce the directory name if
> no module is supplied (haven't tested it here).
>
The second argument to svn checkout only specifies which directory the  
files should go to, not a module. So:
svn co svn://anonsvn.opensource.apple.com/svn/webkit/trunk/WebKit  
my_webkit_snapshot
would checkout webkit trunk into a directory called my_webkit_snapshot.  
The default is to checkout into a directory named the same as last  
directory in uri (WebKit in the example above).

I've made both NewVersion and Compile use "${packagename}_svn" as checkout  
directory.

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the gobolinux-devel mailing list