summaryrefslogtreecommitdiff
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
parent40611f26611e2626bc8025ca7fed3e960525a053 (diff)
downloadslackbuilds-38b16db6cf2aa20afef9b83f1669a5985f05f554.tar.gz
network/exim: Fix build failure.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-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 9e5d3aca44..957240bd18 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!