aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-07 17:32:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-07 17:32:33 +1200
commit9700d416211d3edb547adb68b09a8f17c2ada9ac (patch)
treed07faa7be60fa91cb6ec518693cba0e984d52b44 /install
parentRemove unnecessary spaces (diff)
downloaddotfiles-9700d416211d3edb547adb68b09a8f17c2ada9ac.tar.gz
dotfiles-9700d416211d3edb547adb68b09a8f17c2ada9ac.zip
Include script name in error message
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
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