From 81e1cdf634ac9aa8a808cda986639809d5f2e234 Mon Sep 17 00:00:00 2001
From: Jorrit Fahlke <joe@dune-project.org>
Date: Thu, 21 Jan 2010 14:27:21 +0000
Subject: [PATCH] Allow '-' in headers in dune.module

[[Imported from SVN: r5846]]
---
 bin/dunemodules.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/dunemodules.inc b/bin/dunemodules.inc
index 04091a367..48a39ee1f 100644
--- a/bin/dunemodules.inc
+++ b/bin/dunemodules.inc
@@ -373,7 +373,7 @@ eval_control() {
       # load functions defined in $file
       # if $command is not defined in $file,
       # then the default implementation will be executed
-      eval "$($GREP -v "^[$ALNUM]\{1,\}:" $file)"
+      eval "$($GREP -v "^[-$ALNUM]\{1,\}:" $file)"
       # execute $command
       $command
     ) || false
-- 
GitLab