From ecf947ada045e6538186c6f829466012e0e7c885 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 2 Jan 2017 15:22:52 +1300 Subject: Remove an unnecessary trailing slash from ad() --- sh/shrc.d/ad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh') 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 -- cgit v1.2.3