summaryrefslogtreecommitdiff
path: root/cmdline/apt-changelog
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/apt-changelog')
-rwxr-xr-xcmdline/apt-changelog2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-changelog b/cmdline/apt-changelog
index ac2b6e5fb..a333355a0 100755
--- a/cmdline/apt-changelog
+++ b/cmdline/apt-changelog
@@ -26,7 +26,7 @@ if [ -z "$version" ]; then
fi
# turn binary package names into source
-if src=`apt-cache show $pkg 2>/dev/null| grep ^Source:`; then
+if src=`apt-cache show $pkg 2>/dev/null| grep -m 1 ^Source:`; then
pkg=${src#Source: }
fi