From df1c0b4d154557a8c1e14e62376a9e6292bcb954 Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Mon, 9 Jul 2012 10:17:34 +0000
Subject: [PATCH] [dunecontrol] replay FOUNDMODULES when calling
 find_modules_in_path a second time

[[Imported from SVN: r6841]]
---
 lib/dunemodules.lib | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/dunemodules.lib b/lib/dunemodules.lib
index 9eba9ef36..860583641 100644
--- a/lib/dunemodules.lib
+++ b/lib/dunemodules.lib
@@ -221,6 +221,8 @@ EOFM
 EOF
     export MODULES="$LOCALMODULES$INSTMODULES"
     export FOUND_MODULES="$MODULES"
+  else
+    export MODULES="$FOUND_MODULES"
   fi
 }
 
-- 
GitLab