From 2a83d5d0ce16ddae5e62bc69d27b52597d9adc2d Mon Sep 17 00:00:00 2001 From: Markus Blatt <mblatt@dune-project.org> Date: Mon, 25 Feb 2013 18:45:18 +0000 Subject: [PATCH] Only check default installation if dune-common is not found via pkg-config. Fixes flyspray 1260. PLEASE REVIEW! [[Imported from SVN: r7387]] --- lib/dunemodules.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dunemodules.lib b/lib/dunemodules.lib index f16ad8944..30412cd9c 100644 --- a/lib/dunemodules.lib +++ b/lib/dunemodules.lib @@ -167,7 +167,7 @@ setup_control_path() { if test -z $DUNE_CONTROL_PATH; then DUNE_CONTROL_PATH=. # try pkg-config locations - if pkg-config dune-common; then + if ! pkg-config dune-common; then # try usual locations of installed modules for i in /usr/local/lib/dunecontrol/ /usr/lib/dunecontrol/; do if test -d $i; then -- GitLab