aboutsummaryrefslogtreecommitdiff
path: root/graphics/vuescan
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/vuescan')
-rw-r--r--graphics/vuescan/vuescan.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/vuescan/vuescan.SlackBuild b/graphics/vuescan/vuescan.SlackBuild
index 2768721c08dae..98ad16afaf91b 100644
--- a/graphics/vuescan/vuescan.SlackBuild
+++ b/graphics/vuescan/vuescan.SlackBuild
@@ -23,6 +23,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=vuescan
VERSION=${VERSION:-9.7.58}
SRCVER=${SRCVER:-$(echo "$VERSION" | cut -d. -f-2 | sed 's/\.//g')}
@@ -48,7 +50,6 @@ case $ARCH in
echo "ARCH $ARCH is unsupported."; exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}