aboutsummaryrefslogtreecommitdiff
path: root/libraries/lua-luv/lua-luv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lua-luv/lua-luv.SlackBuild')
-rw-r--r--libraries/lua-luv/lua-luv.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/lua-luv/lua-luv.SlackBuild b/libraries/lua-luv/lua-luv.SlackBuild
index 540eeedaf05d..a9f35a60d1a6 100644
--- a/libraries/lua-luv/lua-luv.SlackBuild
+++ b/libraries/lua-luv/lua-luv.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-luv
VERSION=${VERSION:-1.36.0_0}
SRCVER=$(echo $VERSION | tr _ -)
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}