summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/mm/mm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/mm/mm.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/mm/mm.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/l/mm/mm.SlackBuild b/slackware64-current/source/l/mm/mm.SlackBuild
index 95fec536b..edd1f3b2d 100755
--- a/slackware64-current/source/l/mm/mm.SlackBuild
+++ b/slackware64-current/source/l/mm/mm.SlackBuild
@@ -20,6 +20,7 @@
# 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=mm
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
@@ -37,7 +38,6 @@ fi
NUMJOBS=${NUMJOBS:-" -j7 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}
rm -rf $PKG