summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorSven Joachim <svenjoac@gmx.de>2017-02-03 00:24:04 (GMT)
committerSteve McIntyre <steve@einval.com>2017-02-03 00:24:04 (GMT)
commitb78e381eb11fcb8c3bbc3f72c556a4cc6b60ba4e (patch)
tree7a3833fb572ad97215635f62dd68f0d40d456436 /functions
parentc4ad96b3972426df3d261d33a5025335fef86f79 (diff)
downloaddebootstrap-b78e381eb11fcb8c3bbc3f72c556a4cc6b60ba4e.zip
debootstrap-b78e381eb11fcb8c3bbc3f72c556a4cc6b60ba4e.tar.gz
debootstrap-b78e381eb11fcb8c3bbc3f72c556a4cc6b60ba4e.tar.bz2
pkgdetails_perl: Strip the arch-qualifier (Closes: #836525)
Diffstat (limited to 'functions')
-rw-r--r--functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions b/functions
index 578d72b..6cbbd3b 100644
--- a/functions
+++ b/functions
@@ -1336,6 +1336,7 @@ while (<STDIN>) {
for $d (split /\s*,\s*/, $1) {
$d =~ s/\s*[|].*$//;
$d =~ s/\s*[(].*[)]\s*//;
+ $d =~ s/:.*//;
push @d, $d;
}
}