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