aboutsummaryrefslogtreecommitdiff
path: root/graphics/luxrender/luxrender.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/luxrender/luxrender.SlackBuild')
-rw-r--r--graphics/luxrender/luxrender.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/luxrender/luxrender.SlackBuild b/graphics/luxrender/luxrender.SlackBuild
index fe32e61121f25..0d68c47cca38a 100644
--- a/graphics/luxrender/luxrender.SlackBuild
+++ b/graphics/luxrender/luxrender.SlackBuild
@@ -24,6 +24,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=luxrender
SHORT=lux
VERSION=${VERSION:-1.4}
@@ -49,7 +51,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}