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