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