aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-classic
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-05 16:23:09 +0100
committerLoïc Minier <lool@dooz.org>2010-01-05 16:23:09 +0100
commit00489f22a5595647b791974d4174508f5564b826 (patch)
tree04d4d120d08feebaaaa1bf9fb63e6a614aa45734 /pbuilder-satisfydepends-classic
parentf2a730396370e65b9271b38a09918d3e7d682d2e (diff)
downloadpbuilder-00489f22a5595647b791974d4174508f5564b826.tar
pbuilder-00489f22a5595647b791974d4174508f5564b826.tar.gz
Cleanup split_alternates()
Diffstat (limited to 'pbuilder-satisfydepends-classic')
-rwxr-xr-xpbuilder-satisfydepends-classic2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends-classic b/pbuilder-satisfydepends-classic
index 2559324..6742d4a 100755
--- a/pbuilder-satisfydepends-classic
+++ b/pbuilder-satisfydepends-classic
@@ -45,7 +45,7 @@ split_alternates() {
# architecture or version specifier; e.g. "/foo/(>=/2)/[i386/amd64]" becomes
# "foo"
get_pkg_name() {
- echo "$*" | sed -e 's#^/*##' -e 's#[[/(].*##'
+ echo "$*" | sed 's#^/*##; s#[[/(].*##'
}
# filter operator and version of a "/" escaped versioned build-dep; e.g.