changeset 642:de090ff199ff

common.subr: FIX: trailing shashes should be only checked for absolute paths
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 27 Sep 2024 16:52:28 +0200
parents c21c35a399d9
children 4f2257ea7d0a
files share/local-bsdtools/common.subr
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/share/local-bsdtools/common.subr	Fri Sep 27 14:40:49 2024 +0200
+++ b/share/local-bsdtools/common.subr	Fri Sep 27 16:52:28 2024 +0200
@@ -478,7 +478,7 @@
             _mp1='/'
             _mp2='/'
             ;;
-        */)
+        /*/)
             fatal 1 "a trailing slash in directory path given"
             ;;
         /*)