aboutsummaryrefslogtreecommitdiff
path: root/gis/pgsql-ogr-fdw
diff options
context:
space:
mode:
Diffstat (limited to 'gis/pgsql-ogr-fdw')
-rw-r--r--gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild
index b4d66a0cb6261..54451e0a217c5 100644
--- a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild
+++ b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild
@@ -24,6 +24,8 @@
# (INCLUDING NEGLIGENCE OR 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=pgsql-ogr-fdw
VERSION=${VERSION:-1.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}