aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/companion_libs/libelf.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-04-11 23:18:10 +0200
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-04-11 23:18:10 +0200
commitbf866279823c189becd7e0c615c7121102fda5fe (patch)
tree4a1d903b91774c1d612da8c758e6d5e94e115abc /scripts/build/companion_libs/libelf.sh
parentd2ea451ee17c612fc62defa3a2bda40a2666cf60 (diff)
downloadcrosstool-ng-bf866279823c189becd7e0c615c7121102fda5fe.tar.gz
crosstool-ng-bf866279823c189becd7e0c615c7121102fda5fe.tar.bz2
crosstool-ng-bf866279823c189becd7e0c615c7121102fda5fe.zip
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/companion_libs/libelf.sh')
-rw-r--r--scripts/build/companion_libs/libelf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/companion_libs/libelf.sh b/scripts/build/companion_libs/libelf.sh
index 67e85b4f..59dea27b 100644
--- a/scripts/build/companion_libs/libelf.sh
+++ b/scripts/build/companion_libs/libelf.sh
@@ -16,7 +16,7 @@ do_libelf_get() {
do_libelf_extract() {
CT_Extract "libelf-${CT_LIBELF_VERSION}"
- CT_Patch "libelf-${CT_LIBELF_VERSION}"
+ CT_Patch "libelf" "${CT_LIBELF_VERSION}"
}
if [ "${CT_LIBELF}" = "y" ]; then