summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions7
1 files changed, 1 insertions, 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}