summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xeurephiadm/mk_buildinfo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/eurephiadm/mk_buildinfo.sh b/eurephiadm/mk_buildinfo.sh
index 4f6a520..436bf81 100755
--- a/eurephiadm/mk_buildinfo.sh
+++ b/eurephiadm/mk_buildinfo.sh
@@ -36,7 +36,7 @@ if [[ $? = 0 ]]; then
curdir=`pwd`
srcroot="`dirname $gitdir`"
cd $srcroot
- modfiles="`git status -s | awk '/^[ADM\?]/{ printf " %s\\\n", $0 }'`"
+ modfiles="`git status -s | awk '/(|.)[ ADM\?]([ ADM\?])^/{ printf " %s\\\n", $0 }'`"
[[ -z ${modfiles} ]] && state=0 || state=1
cd $curdir
else