aboutsummaryrefslogtreecommitdiff
path: root/graphics/pr0ntools/pr0ntools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pr0ntools/pr0ntools.SlackBuild')
-rw-r--r--graphics/pr0ntools/pr0ntools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/pr0ntools/pr0ntools.SlackBuild b/graphics/pr0ntools/pr0ntools.SlackBuild
index dd9efedef6cb3..0017d9d8ca500 100644
--- a/graphics/pr0ntools/pr0ntools.SlackBuild
+++ b/graphics/pr0ntools/pr0ntools.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=pr0ntools
VERSION=${VERSION:-20170617}
COMVER=3ce25e7e39cc195f3681a4d8d84633a2885b74da
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}