aboutsummaryrefslogtreecommitdiff
path: root/graphics/povray/povray.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/povray/povray.SlackBuild')
-rw-r--r--graphics/povray/povray.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild
index c788f82c720aa..c8d36828db7db 100644
--- a/graphics/povray/povray.SlackBuild
+++ b/graphics/povray/povray.SlackBuild
@@ -25,6 +25,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=povray
VERSION=${VERSION:-3.7.0.8}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}