diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-04-11 21:18:10 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-04-11 21:18:10 (GMT) |
commit | bf866279823c189becd7e0c615c7121102fda5fe (patch) | |
tree | 4a1d903b91774c1d612da8c758e6d5e94e115abc /scripts/build/debug/200-duma.sh | |
parent | d2ea451ee17c612fc62defa3a2bda40a2666cf60 (diff) |
scripts/functions: make CT_Patch dumber
It is the responsibility of the caller to split the package name from
its version. It already knows that.
Diffstat (limited to 'scripts/build/debug/200-duma.sh')
-rw-r--r-- | scripts/build/debug/200-duma.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/build/debug/200-duma.sh b/scripts/build/debug/200-duma.sh index de0c5c1..fe47b5e 100644 --- a/scripts/build/debug/200-duma.sh +++ b/scripts/build/debug/200-duma.sh @@ -12,11 +12,7 @@ do_debug_duma_get() { do_debug_duma_extract() { CT_Extract "duma_${CT_DUMA_VERSION}" CT_Pushd "${CT_SRC_DIR}/duma_${CT_DUMA_VERSION}" - # Even if DUMA uses _ and not -, crosstool-NG uses the dash to split the - # name from the version in order to find the appropriate patches - # YEM: FIXME: make CT_Patch more intelligent, Eg.: CT_Patch duma _ "${CT_DUMA_VERSION}" - CT_DoExecLog DEBUG touch "${CT_SRC_DIR}/.duma-${CT_DUMA_VERSION}.extracted" - CT_Patch nochdir "duma-${CT_DUMA_VERSION}" + CT_Patch nochdir "duma" "${CT_DUMA_VERSION}" CT_Popd } |