aboutsummaryrefslogtreecommitdiff
path: root/python/python2-lhafile/python2-lhafile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python2-lhafile/python2-lhafile.SlackBuild')
-rw-r--r--python/python2-lhafile/python2-lhafile.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python2-lhafile/python2-lhafile.SlackBuild b/python/python2-lhafile/python2-lhafile.SlackBuild
index 96bad75850e12..df2b365d4a68b 100644
--- a/python/python2-lhafile/python2-lhafile.SlackBuild
+++ b/python/python2-lhafile/python2-lhafile.SlackBuild
@@ -24,6 +24,8 @@
# (INCLUDING NEGLIGENCE OR 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=python2-lhafile
SRCNAM=python-lhafile
VERSION=${VERSION:-0.2.1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}