aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/librist/librist.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/librist/librist.SlackBuild b/libraries/librist/librist.SlackBuild
index 957a51cb7ce4f..3d5d6cdac2d7d 100644
--- a/libraries/librist/librist.SlackBuild
+++ b/libraries/librist/librist.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=librist
VERSION=${VERSION:-0.2.7}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}