From ed072b0d826afb6ae56c0894c5155c821aef93a9 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sat, 18 Nov 2023 10:56:51 -0500 Subject: [PATCH] check-help-strings.pl: skip the 3rd-party directory We only want to check the help strings in the Open MPI source, not 3rd party source. Signed-off-by: Jeff Squyres (cherry picked from commit 15d89534eed43d1b415f40c79aa6723c483a4311) --- contrib/check-help-strings.pl | 2 ++ 1 file changed, 2 insertions(+) mode change 100755 => 100644 contrib/check-help-strings.pl diff --git a/contrib/check-help-strings.pl b/contrib/check-help-strings.pl old mode 100755 new mode 100644 index ef2a263ae9c..3c766909cfe --- a/contrib/check-help-strings.pl +++ b/contrib/check-help-strings.pl @@ -1,6 +1,7 @@ #!/usr/bin/env perl # # Copyright (c) 2014-2022 Cisco Systems, Inc. All rights reserved. +# Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved. # $COPYRIGHT$ # # Simple script to check all the opal_show_help (and orte_show_help) @@ -94,6 +95,7 @@ sub match_files { # Don't recurse down "special" directories if (-d $_ && ((/^\.deps$/) || (/^\.libs$/) || + (/3rd-party/) || (/^\.svn$/) || (/^\.hg$/) || (/^\.git$/))) { $File::Find::prune = 1; return;