diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-21 08:33:48 +0100 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-21 08:33:48 +0100 |
commit | 966bcbc7320996ee52697d606a11469f97996765 (patch) | |
tree | e780fbbe19d2673e77799afd357bdbaa27f95e5f | |
parent | 8afa6ad6f0b7fecade1353a89b958e34bda11eee (diff) | |
download | mkinitcpio-966bcbc7320996ee52697d606a11469f97996765.tar.gz mkinitcpio-966bcbc7320996ee52697d606a11469f97996765.tar.xz |
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 <aaronmgriffin@gmail.com>
-rw-r--r-- | functions | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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} |