diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-07 17:32:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-07 17:32:33 +1200 |
commit | 9700d416211d3edb547adb68b09a8f17c2ada9ac (patch) | |
tree | d07faa7be60fa91cb6ec518693cba0e984d52b44 /install | |
parent | Remove unnecessary spaces (diff) | |
download | dotfiles-9700d416211d3edb547adb68b09a8f17c2ada9ac.tar.gz dotfiles-9700d416211d3edb547adb68b09a8f17c2ada9ac.zip |
Include script name in error message
Diffstat (limited to 'install')
-rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |