aboutsummaryrefslogtreecommitdiff
path: root/python/pyblake2/pyblake2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyblake2/pyblake2.SlackBuild')
-rw-r--r--python/pyblake2/pyblake2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/pyblake2/pyblake2.SlackBuild b/python/pyblake2/pyblake2.SlackBuild
index 4493a8417915..a0500f7f89a5 100644
--- a/python/pyblake2/pyblake2.SlackBuild
+++ b/python/pyblake2/pyblake2.SlackBuild
@@ -21,6 +21,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=pyblake2
VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}