aboutsummaryrefslogtreecommitdiff
path: root/libraries/lua-zlib/lua-zlib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lua-zlib/lua-zlib.SlackBuild')
-rw-r--r--libraries/lua-zlib/lua-zlib.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/lua-zlib/lua-zlib.SlackBuild b/libraries/lua-zlib/lua-zlib.SlackBuild
index d6b76917187a..fca754d407a8 100644
--- a/libraries/lua-zlib/lua-zlib.SlackBuild
+++ b/libraries/lua-zlib/lua-zlib.SlackBuild
@@ -22,6 +22,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=lua-zlib
HASH=${HASH:-c0014bcbc4c3fd65ba3519b10965f0c184c1a059}
VERSION=${VERSION:-20140201_c0014bc}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}