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