aboutsummaryrefslogtreecommitdiff
path: root/network/ip2location-c
diff options
context:
space:
mode:
Diffstat (limited to 'network/ip2location-c')
-rw-r--r--network/ip2location-c/ip2location-c.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/ip2location-c/ip2location-c.SlackBuild b/network/ip2location-c/ip2location-c.SlackBuild
index f96c161ee03f8..73028159da121 100644
--- a/network/ip2location-c/ip2location-c.SlackBuild
+++ b/network/ip2location-c/ip2location-c.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=ip2location-c
SRCNAM=IP2Location-C-Library
VERSION=${VERSION:-8.0.9}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}