aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-ShellCheck
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-02 16:35:19 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:21:09 +0700
commitc2f3ddf85542b4e707d6ccc9d306e9cb9e153673 (patch)
tree05425cd1a1f6a36ed29e487f37366ccf4b26bf7f /haskell/haskell-ShellCheck
parent8b2796a7c644db0a95beaa2681168ac2d597e3fc (diff)
haskell/haskell-ShellCheck: Fix build with ghc 8.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-ShellCheck')
-rw-r--r--haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild b/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild
index cb74d587244de..112f469225eab 100644
--- a/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild
+++ b/haskell/haskell-ShellCheck/haskell-ShellCheck.SlackBuild
@@ -89,7 +89,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