aboutsummaryrefslogtreecommitdiff
path: root/python/gearbox/gearbox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/gearbox/gearbox.SlackBuild')
-rw-r--r--python/gearbox/gearbox.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/gearbox/gearbox.SlackBuild b/python/gearbox/gearbox.SlackBuild
index ecd53ef5f3410..83cff547410e7 100644
--- a/python/gearbox/gearbox.SlackBuild
+++ b/python/gearbox/gearbox.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=gearbox
VERSION=${VERSION:-0.2.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}