This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [CT-NG:patch 07/19] Adapt CTPatch function to handle dash in package name


Remy, Bart, All,

On Friday 09 April 2010 21:04:26 Remy Bohmer wrote:
> Some packages have a dash ('-') in their package name, other
> packages have a dash in their version number. In order to handle this
> first look for a patch directory split on the last dash, in not found
> check for a patch direcory split on the fist dash.

CT_Patch has to stop being smart. It is failing.

Let's change the API to:
  CT_Patch [nochdir] <pkgname> <pkgversion>

And the package dir is constructed with: pkgname-pkgversion
If that is wrong, then the caller is responsible for cd-ing into the proper
directory, and call CT_Patch with 'nochdir'.

I will do that.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]