summaryrefslogtreecommitdiff
path: root/multimedia/gmtp/gmtp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gmtp/gmtp.SlackBuild')
-rw-r--r--multimedia/gmtp/gmtp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/gmtp/gmtp.SlackBuild b/multimedia/gmtp/gmtp.SlackBuild
index 9ccac448c0..8260238c7c 100644
--- a/multimedia/gmtp/gmtp.SlackBuild
+++ b/multimedia/gmtp/gmtp.SlackBuild
@@ -28,6 +28,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=gmtp
VERSION=${VERSION:-1.3.11}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}