summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/atkmm/atkmm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/atkmm/atkmm.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/atkmm/atkmm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/l/atkmm/atkmm.SlackBuild b/slackware64-current/source/l/atkmm/atkmm.SlackBuild
index e8c29988c..02be2a13a 100755
--- a/slackware64-current/source/l/atkmm/atkmm.SlackBuild
+++ b/slackware64-current/source/l/atkmm/atkmm.SlackBuild
@@ -20,6 +20,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)
+
PKGNAM=atkmm
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ fi
NUMJOBS=${NUMJOBS:-" -j7 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM