aboutsummaryrefslogtreecommitdiff
path: root/python/pynacl/pynacl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pynacl/pynacl.SlackBuild')
-rw-r--r--python/pynacl/pynacl.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pynacl/pynacl.SlackBuild b/python/pynacl/pynacl.SlackBuild
index 73a19a9740db2..84f5f7e55bbc8 100644
--- a/python/pynacl/pynacl.SlackBuild
+++ b/python/pynacl/pynacl.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pynacl
SRCPKG=${SRCPKG-PyNaCl}
VERSION=${VERSION:-1.4.0}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}