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