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