summaryrefslogtreecommitdiffstats
path: root/network/postfix/postfix.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/postfix/postfix.SlackBuild')
-rw-r--r--network/postfix/postfix.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/network/postfix/postfix.SlackBuild b/network/postfix/postfix.SlackBuild
index 1202678173..bb481e1c10 100644
--- a/network/postfix/postfix.SlackBuild
+++ b/network/postfix/postfix.SlackBuild
@@ -26,7 +26,7 @@ VERSION="2.4.1"
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
+CWD=`pwd`
TMP=${TMP:-/tmp/SBo}
PKG="$TMP/pkg-$PRGNAM"
OUTPUT=${OUTPUT:-/tmp}
@@ -109,7 +109,7 @@ if echo $line | grep -v "^#" 2>&1 > /dev/null; then
GROUP="$(echo $line | awk -F: '{ print $4 }')"
PERMS="$(echo $line | awk -F: '{ print $5 }')"
- # skip this iteration if the line we're fed is no good
+ # skip this interation if the line we're fed is no good
if [ "$TYPE" = "h" ]; then
continue
elif [ "$TYPE" = "l" ]; then
@@ -215,7 +215,8 @@ install -m 0755 $CWD/rc.postfix $PKG/etc/rc.d/rc.postfix.new
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-# Strip binaries and libraries
+# Strip binaries and libraries - this can be done with 'make install-strip'
+# in many source trees, and that's preferable if so, but if not, use this
find $PKG -type f | (while read LINE; do
if file $LINE | egrep "ELF.*(executable|shared object).*not stripped" &> /dev/null; then
strip $LINE