summaryrefslogtreecommitdiffstats
path: root/libraries/tsocks
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2013-11-14 16:12:28 +0100
committer Robby Workman2013-11-14 21:32:31 +0100
commitd03090b75d490e87390f29a4ac5384759d1dc788 (patch)
treeb1a5a2f085c60d3c796cb0bc0b37d16f18df6eca /libraries/tsocks
parent18578fcf23cdc50b2776fd196e2efaf314f67d67 (diff)
downloadslackbuilds-d03090b75d490e87390f29a4ac5384759d1dc788.tar.gz
libraries/tsocks: Script cleanup and fix documentation
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/tsocks')
-rw-r--r--libraries/tsocks/tsocks.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/tsocks/tsocks.SlackBuild b/libraries/tsocks/tsocks.SlackBuild
index 21473cebb4..352e23ce6d 100644
--- a/libraries/tsocks/tsocks.SlackBuild
+++ b/libraries/tsocks/tsocks.SlackBuild
@@ -28,12 +28,10 @@ SRCVERSION=${SRCVERSION:-1.8}
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
@@ -43,7 +41,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="COPYING ChangeLog FAQ tsocks.conf.{simple,complex}.example"
+DOCS="COPYING ChangeLog FAQ tsocks.conf.simple.example tsocks.conf.complex.example"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"