summaryrefslogtreecommitdiffstats
path: root/gis/spatialite_gui
diff options
context:
space:
mode:
Diffstat (limited to 'gis/spatialite_gui')
-rw-r--r--gis/spatialite_gui/spatialite_gui.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/spatialite_gui/spatialite_gui.SlackBuild b/gis/spatialite_gui/spatialite_gui.SlackBuild
index f745781a8a..c6893c6406 100644
--- a/gis/spatialite_gui/spatialite_gui.SlackBuild
+++ b/gis/spatialite_gui/spatialite_gui.SlackBuild
@@ -21,6 +21,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=spatialite_gui
VERSION=${VERSION:-1.7.1}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}