From 922bf0953496faf38baf32d12bafe0061c747dd4 Mon Sep 17 00:00:00 2001
From: Giovanni Bussi <giovanni.bussi@gmail.com>
Date: Thu, 16 Apr 2015 09:32:38 +0200
Subject: [PATCH] Allow reset headers of a single module

---
 src/header.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/header.sh b/src/header.sh
index 7cc831c71..7d4356f11 100755
--- a/src/header.sh
+++ b/src/header.sh
@@ -7,7 +7,11 @@ test -d ../.git  || {
   exit 1
 }
 
-for dir in *
+DIRS=$1
+
+test -z "$DIRS" && DIRS=*
+
+for dir in $DIRS
 do
 test -d "$dir" || continue
 cd $dir
-- 
GitLab