diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-05 16:23:09 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-05 16:23:09 +0100 |
commit | 00489f22a5595647b791974d4174508f5564b826 (patch) | |
tree | 04d4d120d08feebaaaa1bf9fb63e6a614aa45734 /pbuilder-satisfydepends-classic | |
parent | f2a730396370e65b9271b38a09918d3e7d682d2e (diff) | |
download | pbuilder-00489f22a5595647b791974d4174508f5564b826.tar pbuilder-00489f22a5595647b791974d4174508f5564b826.tar.gz |
Cleanup split_alternates()
Diffstat (limited to 'pbuilder-satisfydepends-classic')
-rwxr-xr-x | pbuilder-satisfydepends-classic | 2 |
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. |