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