aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haskell/haskell-data-default-instances-dlist/haskell-data-default-instances-dlist.SlackBuild2
-rw-r--r--haskell/haskell-dataenc/haskell-dataenc.SlackBuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/haskell/haskell-data-default-instances-dlist/haskell-data-default-instances-dlist.SlackBuild b/haskell/haskell-data-default-instances-dlist/haskell-data-default-instances-dlist.SlackBuild
index 1df27ff0c128..45d4cc664b49 100644
--- a/haskell/haskell-data-default-instances-dlist/haskell-data-default-instances-dlist.SlackBuild
+++ b/haskell/haskell-data-default-instances-dlist/haskell-data-default-instances-dlist.SlackBuild
@@ -90,7 +90,7 @@ runghc Setup copy --destdir=$PKG
runghc Setup register --gen-pkg-config
PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d
-PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | cut -d" " -f2 )
+PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 )
mkdir -p $PKG/$PKGCONFD
mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf
diff --git a/haskell/haskell-dataenc/haskell-dataenc.SlackBuild b/haskell/haskell-dataenc/haskell-dataenc.SlackBuild
index 48e227f26f8e..6aefb9878ce1 100644
--- a/haskell/haskell-dataenc/haskell-dataenc.SlackBuild
+++ b/haskell/haskell-dataenc/haskell-dataenc.SlackBuild
@@ -93,7 +93,7 @@ runghc Setup copy --destdir=$PKG
runghc Setup register --gen-pkg-config
PKGCONFD=/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d
-PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | cut -d" " -f2 )
+PKGID=$( grep -E "^id: " $SRCNAM-$VERSION.conf | sed "s/[[:space:]][[:space:]]*/ /" | cut -d" " -f2 )
mkdir -p $PKG/$PKGCONFD
mv $SRCNAM-$VERSION.conf $PKG/$PKGCONFD/$PKGID.conf