aboutsummaryrefslogtreecommitdiff
path: root/network/tunctl/tunctl.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
commit687c78d5604ce299d5164ffd69de88f2dd10fefc (patch)
tree2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /network/tunctl/tunctl.SlackBuild
parent610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff)
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/tunctl/tunctl.SlackBuild')
-rw-r--r--network/tunctl/tunctl.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/network/tunctl/tunctl.SlackBuild b/network/tunctl/tunctl.SlackBuild
index 4d830244cb406..840cd4f79d78e 100644
--- a/network/tunctl/tunctl.SlackBuild
+++ b/network/tunctl/tunctl.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-1.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -53,7 +51,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make CFLAGS="$SLKCFLAGS"
+make CFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \