From 9700d416211d3edb547adb68b09a8f17c2ada9ac Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 7 Sep 2013 17:32:33 +1200 Subject: Include script name in error message --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install b/install index df7fa0c9..0bacd594 100755 --- a/install +++ b/install @@ -24,7 +24,7 @@ lns() { # Define dotfiles directory and check it exists dotfiles=$HOME/.dotfiles if [[ ! -d $dotfiles ]]; then - printf 'Could not find %s!\n' "$dotfiles" >&2 + printf '%s: Could not find %s!\n' "$dotfiles" "${0##*/}" >&2 exit 1 fi -- cgit v1.2.3