summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions2
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")