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 <rkitover@gmail.com>
This commit is contained in:
parent
2a65e92da2
commit
a42e166e94
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue