From 5b7eb9389e6c13132ba2ab8cd845e82f746979f1 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 25 Dec 2011 21:11:37 -0500 Subject: functions: display proper name on file not found Signed-off-by: Dave Reisner --- functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions b/functions index 0af586d..306c077 100644 --- a/functions +++ b/functions @@ -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") -- cgit v1.2.3-24-g4f1b