From bf866279823c189becd7e0c615c7121102fda5fe Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 11 Apr 2010 23:18:10 +0200 Subject: 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. --- scripts/build/binutils/binutils.sh | 2 +- scripts/build/binutils/elf2flt.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/binutils') diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh index 2f4bbbd7..0ef5861e 100644 --- a/scripts/build/binutils/binutils.sh +++ b/scripts/build/binutils/binutils.sh @@ -12,7 +12,7 @@ do_binutils_get() { # Extract binutils do_binutils_extract() { CT_Extract "binutils-${CT_BINUTILS_VERSION}" - CT_Patch "binutils-${CT_BINUTILS_VERSION}" + CT_Patch "binutils" "${CT_BINUTILS_VERSION}" } # Build binutils diff --git a/scripts/build/binutils/elf2flt.sh b/scripts/build/binutils/elf2flt.sh index aa7f0e07..76d8b455 100644 --- a/scripts/build/binutils/elf2flt.sh +++ b/scripts/build/binutils/elf2flt.sh @@ -22,7 +22,7 @@ do_elf2flt_get() { # Extract elf2flt do_elf2flt_extract() { CT_Extract "elf2flt-cvs-${CT_ELF2FLT_VERSION}" - CT_Patch "elf2flt-cvs-${CT_ELF2FLT_VERSION}" + CT_Patch "elf2flt-cvs" "${CT_ELF2FLT_VERSION}" } # Build elf2flt -- cgit v1.2.3