From 7a28d0e7670eee686e10125dd72bda4d516ec984 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 9 Apr 2024 16:14:53 +1200 Subject: [PATCH] FIX Additional check dirs are not the same --- bin/doclint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/doclint b/bin/doclint index d4ba1d8..1b431a5 100755 --- a/bin/doclint +++ b/bin/doclint @@ -104,7 +104,7 @@ if [[ -z $MODULE_DIR ]]; then fi # If the module directory is not an absolute path, make it one -if [[ $MODULE_DIR != $ORIG ]] && [[ $MODULE_DIR != "/*" ]]; then +if [[ $MODULE_DIR != $ORIG_DIR ]] && [[ "$MODULE_DIR/" != $ORIG_DIR ]] && [[ $MODULE_DIR != "/*" ]]; then MODULE_DIR="${ORIG_DIR}/${MODULE_DIR}" fi