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