From a42e166e94753ca0a8e290225ec7127a623374dd Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Mon, 28 Nov 2022 18:34:48 +0000 Subject: [PATCH] build: fix syntax and rm dbg prints from 2a65e92d Remove two debug messages and add a missing paren to the cmake source. Signed-off-by: Rafael Kitover --- cmake/RemoveStrawberryPerlFromPATH.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmake/RemoveStrawberryPerlFromPATH.cmake b/cmake/RemoveStrawberryPerlFromPATH.cmake index 3e8ae656..8dce7a3b 100644 --- a/cmake/RemoveStrawberryPerlFromPATH.cmake +++ b/cmake/RemoveStrawberryPerlFromPATH.cmake @@ -2,16 +2,12 @@ # pollution. unset(new_path) -message("BEFORE: $ENV{PATH}") - foreach(p $ENV{PATH}) if(NOT p MATCHES "(^|\\\\)[Ss]trawberry\\\\([Pp]erl|[Cc])\\\\(.*\\\\)?[Bb]in$") list(APPEND new_path ${p}) endif() -endforeach( +endforeach() set(ENV{PATH} "${new_path}") -message("AFTER: $ENV{PATH}") - # vim:sw=4 et sts=4 ts=8: