aboutsummaryrefslogtreecommitdiff
path: root/network/polipo/polipo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/polipo/polipo.SlackBuild')
-rw-r--r--network/polipo/polipo.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/polipo/polipo.SlackBuild b/network/polipo/polipo.SlackBuild
index 32a038aa880a7..0af75009020f9 100644
--- a/network/polipo/polipo.SlackBuild
+++ b/network/polipo/polipo.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=polipo
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}