From 966bcbc7320996ee52697d606a11469f97996765 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 21 Jan 2009 01:33:48 -0600 Subject: Remove 'dest' logic from add_binary This was never used and has no potential to be used. Just delete it. Signed-off-by: Aaron Griffin --- functions | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/functions b/functions index 9ae216a..8dbb24c 100644 --- a/functions +++ b/functions @@ -171,11 +171,6 @@ add_binary () bin="${1}" fi - dest="" - if [ $# -eq 2 ]; then - dest=${2} - fi - if [ ! -f "${bin}" ]; then err "'${bin}' is not a file" return 1 @@ -186,7 +181,7 @@ add_binary () case "${type}" in *script*) msg " adding '${type}' script, ensure proper interp exists..." - add_file "${bin}" ${dest} + add_file "${bin}" ;; *executable*|*shared\ object*) add_file "${bin}" ${dest} -- cgit v1.2.3-24-g4f1b