lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 7666649 2/2: Shorten a command line


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7666649 2/2: Shorten a command line
Date: Fri, 15 May 2020 17:31:34 -0400 (EDT)

branch: master
commit 766664921a95e4a520be1c6daec4c28ddb572475
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Shorten a command line
    
    This command line
      x.c y.c z.c ...
    is shorter than
      /opt/lmi/src/lmi/x.c /opt/lmi/src/lmi/y.c /opt/lmi/src/lmi/z.c ...
    so
      cd some/dir/ && foo *
    may be short enough where
      foo some/dir/*
    exceeds a command-line limit. See:
      https://lists.nongnu.org/archive/html/lmi/2020-05/msg00022.html
---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index 35e787d..e44313c 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -482,7 +482,7 @@ check_concinnity: source_clean custom_tools
              || $(ECHO) "... in file $$z"; \
          done;
        @$(ECHO) "  Miscellaneous problems:"
-       @-$(PERFORM) $(TEST_CODING_RULES) $(prefascicle_dir)/*
+       @-cd $(prefascicle_dir) && $(PERFORM) $(TEST_CODING_RULES) *
 
 
################################################################################
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]