Skip to content

Commit

Permalink
FIX Additional check dirs are not the same
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Apr 9, 2024
1 parent fdd547b commit 7a28d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/doclint
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7a28d0e

Please sign in to comment.