aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/vr.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-21 10:50:49 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-21 10:50:49 +1200
commitc1e61eaecb66ad9acabd4b944497c946c6fc3cd1 (patch)
treeee925626005e30cef397ddd4b70b9ce3ebcd42d0 /sh/shrc.d/vr.sh
parentRemove apostrophe from comment to calm pdksh (diff)
downloaddotfiles-c1e61eaecb66ad9acabd4b944497c946c6fc3cd1.tar.gz
dotfiles-c1e61eaecb66ad9acabd4b944497c946c6fc3cd1.zip
Remove single quotes within vr() subshell
Diffstat (limited to 'sh/shrc.d/vr.sh')
-rw-r--r--sh/shrc.d/vr.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/shrc.d/vr.sh b/sh/shrc.d/vr.sh
index b8a31aee..1902e3ba 100644
--- a/sh/shrc.d/vr.sh
+++ b/sh/shrc.d/vr.sh
@@ -24,8 +24,8 @@ vr() {
# Ask Mercurial the top level (great)
hg root 2>/dev/null && exit
- # If we can get SVN info, iterate upwards until we can't; hopefully
- # that's the root (bad)
+ # If we can get SVN info, iterate upwards until we cannot; hopefully
+ # that is the root (bad)
while svn info >/dev/null 2>&1 ; do
root=$PWD
[ "$root" = / ] && break
@@ -36,7 +36,7 @@ vr() {
exit
fi
- # Couldn't find repository root, say so
+ # Could not find repository root, say so
printf >&2 'vr(): Failed to find repository root\n'
exit 1
)"