From 8dabd665bd2ee0f8729c3aa03f95264e022c084b Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Tue, 12 Oct 2004 13:16:03 +0000 Subject: [PATCH] Don't leak intermediate results of tests for wx2.4 if it is not installed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wx-config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wx-config.in b/wx-config.in index 7b314ec627..c87dcf9069 100755 --- a/wx-config.in +++ b/wx-config.in @@ -559,9 +559,9 @@ get_legacy_mask() # Returns a list of configs installed by wx2.4 releases. find_legacy_configs() { - cd "$prefix/bin" 2> /dev/null && \ - ls wx*-2.4-config | grep -v ^wxbase; \ - ls wx*-2.4-config | grep ^wxbase + cd "$prefix/bin" 2> /dev/null && \ + ls wx*-2.4-config 2> /dev/null | grep -v ^wxbase; \ + ls wx*-2.4-config 2> /dev/null | grep ^wxbase } # find_best_legacy_config -- 2.47.2