diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-02 15:22:52 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-02 15:22:52 +1300 |
commit | ecf947ada045e6538186c6f829466012e0e7c885 (patch) | |
tree | e75adf417d65968b227c73330f20fe975c0ff258 /sh | |
parent | Work around newline-stripping in param expansion (diff) | |
download | dotfiles-ecf947ada045e6538186c6f829466012e0e7c885.tar.gz dotfiles-ecf947ada045e6538186c6f829466012e0e7c885.zip |
Remove an unnecessary trailing slash from ad()
Diffstat (limited to 'sh')
-rw-r--r-- | sh/shrc.d/ad.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/ad.sh b/sh/shrc.d/ad.sh index 4916b0e6..55866683 100644 --- a/sh/shrc.d/ad.sh +++ b/sh/shrc.d/ad.sh @@ -15,7 +15,7 @@ ad() { req=${1%/}/ case $req in (/*) ;; - (*) req=${PWD%/}/${req#/}/ ;; + (*) req=${PWD%/}/${req#/} ;; esac # Start building the target directory; go through the request piece by |