diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-12-26 03:11:37 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-12-26 03:18:20 +0100 |
commit | 5b7eb9389e6c13132ba2ab8cd845e82f746979f1 (patch) | |
tree | c34f06bdbf61cd348c035a8ac874243f8bfeaef9 | |
parent | 53e88f96c6db71bf70942842c77e5202283b9d81 (diff) | |
download | mkinitcpio-5b7eb9389e6c13132ba2ab8cd845e82f746979f1.tar.gz mkinitcpio-5b7eb9389e6c13132ba2ab8cd845e82f746979f1.tar.xz |
functions: display proper name on file not found
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -301,7 +301,7 @@ add_binary() { binary=$BASEDIR$1 fi - [[ -f "$binary" ]] || { error "file not found: \`%s'" "$binary"; return 1; } + [[ -f "$binary" ]] || { error "file not found: \`%s'" "$1"; return 1; } dest=${2:-$binary} mode=$(stat -c %a "$binary") |