aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-funcs
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-satisfydepends-funcs')
-rwxr-xr-xpbuilder-satisfydepends-funcs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends-funcs b/pbuilder-satisfydepends-funcs
index 64436a0..bace59d 100755
--- a/pbuilder-satisfydepends-funcs
+++ b/pbuilder-satisfydepends-funcs
@@ -122,7 +122,7 @@ checkbuilddep_archdeps() {
local INSTALLPKG="$1"
local ARCH="$2"
# architectures listed between [ and ] for this dep
- local DEP_ARCHES="$(echo "$INSTALLPKG" | sed 's/.*\[\(.*\)\].*/\1/')"
+ local DEP_ARCHES="$(echo "$INSTALLPKG" | sed -e 's/.*\[\(.*\)\].*/\1/' -e 'y|/| |')"
local PKG="$(echo "$INSTALLPKG" | cut -d ' ' -f 1)"
local USE_IT
local IGNORE_IT