summaryrefslogtreecommitdiffstats
path: root/graphics/PureRef/PureRef.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/PureRef/PureRef.SlackBuild')
-rw-r--r--graphics/PureRef/PureRef.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/PureRef/PureRef.SlackBuild b/graphics/PureRef/PureRef.SlackBuild
index df457c156d..10a0e15166 100644
--- a/graphics/PureRef/PureRef.SlackBuild
+++ b/graphics/PureRef/PureRef.SlackBuild
@@ -22,6 +22,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=PureRef
VERSION=${VERSION:-1.9.2}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ fi
set -e
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}