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