aboutsummaryrefslogtreecommitdiff
path: root/graphics/GPS/GPS.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/GPS/GPS.SlackBuild')
-rw-r--r--graphics/GPS/GPS.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/GPS/GPS.SlackBuild b/graphics/GPS/GPS.SlackBuild
index 7585578d21779..fac78e6d5a4ab 100644
--- a/graphics/GPS/GPS.SlackBuild
+++ b/graphics/GPS/GPS.SlackBuild
@@ -23,6 +23,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=GPS
VERSION=${VERSION:-2_0}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}