[PATCH] local patches directory

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown [PATCH] local patches directory

by Frederic Roussel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I stumbled across a naming mistake in a variable when trying to access
local patches directory.

Here's a one-liner patch.

Thanks all for the good work.

--Frederic

[local_patch_dir_20091021.patch]

diff -u -r crosstool-ng.1.5.0/scripts/functions crosstool-ng.1.5.0.local/scripts/functions
--- crosstool-ng.1.5.0/scripts/functions 2009-10-04 04:14:13.000000000 -0700
+++ crosstool-ng.1.5.0.local/scripts/functions 2009-10-21 13:02:09.000000000 -0700
@@ -612,7 +612,7 @@
     CT_DoLog EXTRA "Patching '${basename}'"
 
     bundled_patch_dir="${CT_LIB_DIR}/patches/${base_file}/${ver_file}"
-    local_patch_dir="${CT_CUSTOM_PATCH_DIR}/${base_file}/${ver_file}"
+    local_patch_dir="${CT_LOCAL_PATCH_DIR}/${base_file}/${ver_file}"
 
     case "${CT_PATCH_ORDER}" in
         bundled)        patch_dirs=("${bundled_patch_dir}");;


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

Re: [PATCH] local patches directory

by Yann E. MORIN :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Frederic!
Hello All!

On Wednesday 21 October 2009 23:11:07 Frederic Roussel wrote:
> I stumbled across a naming mistake in a variable when trying to access
> local patches directory.

Good catch! :-)

> Here's a one-liner patch.

Correct. Could you please read section titled "Contributing" in
docs/overview.txt, on how to submit patches?
It's really easy to use Mercurial to send patches, and then it's really
easy for me to apply them (keeps history, authorship, date, file mode...)

> Thanks all for the good work.

Cheers!

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