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