aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-04-11 14:49:58 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-12 17:34:23 +0700
commit38b16db6cf2aa20afef9b83f1669a5985f05f554 (patch)
tree55ec70d7664e77797f3ac085fada4a9fca85c164 /network
parent40611f26611e2626bc8025ca7fed3e960525a053 (diff)
network/exim: Fix build failure.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/exim/exim.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/exim/exim.SlackBuild b/network/exim/exim.SlackBuild
index 9e5d3aca44912..957240bd181f2 100644
--- a/network/exim/exim.SlackBuild
+++ b/network/exim/exim.SlackBuild
@@ -107,7 +107,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Rename the version specific binary to simply 'exim'.
-mv $PKG/usr/sbin/exim-$VERSION-* $PKG/usr/sbin/exim
+# e.g. version specific binary for 4.86.2 is 'exim-4.86_2-2'
+mv $PKG/usr/sbin/exim-$(echo $VERSION | sed 's/\./_/2')-* $PKG/usr/sbin/exim
# Additional symlinks provide compatibility with sendmail
mkdir -p $PKG/usr/lib # no LIBDIRSUFFIX here!