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/debug/300-gdb.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/build/debug/300-gdb.sh') diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index da6002f2..49810c64 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -57,17 +57,17 @@ do_debug_gdb_extract() { if [ "${do_gdb}" = "y" ]; then CT_Extract "gdb-${CT_GDB_VERSION}" - CT_Patch "gdb-${CT_GDB_VERSION}" + CT_Patch "gdb" "${CT_GDB_VERSION}" fi if [ "${do_insight}" = "y" ]; then CT_Extract "insight-${CT_GDB_VERSION}" - CT_Patch "insight-${CT_GDB_VERSION}" + CT_Patch "insight" "${CT_GDB_VERSION}" fi if [ "${do_ncurses}" = "y" ]; then CT_Extract "ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}" - CT_Patch "ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}" + CT_Patch "ncurses" "${CT_DEBUG_GDB_NCURSES_VERSION}" fi } -- cgit v1.2.3