aboutsummaryrefslogtreecommitdiff
path: root/gis/readosm/readosm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/readosm/readosm.SlackBuild')
-rw-r--r--gis/readosm/readosm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/readosm/readosm.SlackBuild b/gis/readosm/readosm.SlackBuild
index 7a1828a60449d..0597edf5e36d0 100644
--- a/gis/readosm/readosm.SlackBuild
+++ b/gis/readosm/readosm.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=readosm
VERSION=${VERSION:-1.0.0d}
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}