aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/shrc.d/ad.sh2
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