summaryrefslogtreecommitdiff
path: root/source/buildlist-from-changelog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/buildlist-from-changelog.sh')
-rwxr-xr-xsource/buildlist-from-changelog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/buildlist-from-changelog.sh b/source/buildlist-from-changelog.sh
index d4cb6670..24e67609 100755
--- a/source/buildlist-from-changelog.sh
+++ b/source/buildlist-from-changelog.sh
@@ -259,7 +259,7 @@ cat $TMPDIR/header $TMPDIR/kernel $TMPDIR/sobumps $TMPDIR/perl $TMPDIR/packages
echo "# UNHANDLED: $line" >> $TMPDIR/output
continue
fi
- BUILDOPT="$(grep "^${PACKAGE}$" $(dirname $SLACKSRC/$KDESB)/modules/* | rev | cut -f 1 -d / | rev)"
+ BUILDOPT="$(grep "^${PACKAGE}$" $(dirname $SLACKSRC/$KDESB)/modules/* | rev | cut -f 1 -d / | rev | head -n 1)"
echo "$KDESB $BUILDOPT" >> $TMPDIR/output
continue
fi