[arch-projects] [mkinitcpio][PATCH 1/8] functions: display proper name on file not found
Dave Reisner
d at falconindy.com
Thu Jan 5 14:26:07 EST 2012
Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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")
--
1.7.8.1
More information about the arch-projects
mailing list