aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-12-06 15:28:33 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-12-06 15:28:33 +1300
commit406a2b4a2fd6f1d051d176c63f4252243a634511 (patch)
treefcf779f87ad7777cd5201be96df36f0a6eb5d1e5 /install
parentMore instructive name for section (diff)
downloaddotfiles-406a2b4a2fd6f1d051d176c63f4252243a634511.tar.gz
dotfiles-406a2b4a2fd6f1d051d176c63f4252243a634511.zip
Name self and use name in error messages
Diffstat (limited to 'install')
-rwxr-xr-xinstall3
1 files changed, 2 insertions, 1 deletions
diff --git a/install b/install
index 9d7f2537..9cddb5bb 100755
--- a/install
+++ b/install
@@ -25,6 +25,7 @@
#
# Run this at your own risk!
#
+self=install
# Replace existing file with link if user confirms
lns() {
@@ -49,7 +50,7 @@ lns() {
# Bail if we don't have git(1)
if ! hash git 2>/dev/null; then
- printf 'install: Could not find git(1)!\n' >&2
+ printf '%s: Could not find git(1)!\n' "$self" >&2
exit 1
fi