From e75dd3b57c247e650277f26f4f1b5ade3bd0f620 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 26 May 2006 15:37:34 +0000 Subject: Moved udev hook/install to udev package Added destination name for add_binary git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@116 880c04e9-e011-0410-abf7-b926e227c9cd --- functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions') diff --git a/functions b/functions index beb4a3e..715b555 100644 --- a/functions +++ b/functions @@ -155,10 +155,10 @@ add_binary () case "${type}" in *script*) msg " adding '${type}' script, ensure proper interp exists..." - add_file "${bin}" + add_file "${bin}" "${2}" ;; *executable*) - add_file "${bin}" + add_file "${bin}" "${2}" #note, this will also handle 'not a dynamic executable' spit out by # static binaries... the deps will produce nothing for lib in $(ldd ${bin} 2>/dev/null | sed "s|.*=>\(.*\)|\1|"); do -- cgit v1.2.3-24-g4f1b