diff options
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. |