aboutsummaryrefslogtreecommitdiff
path: root/system/memtest86/memtest86.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/memtest86/memtest86.SlackBuild')
-rw-r--r--system/memtest86/memtest86.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/memtest86/memtest86.SlackBuild b/system/memtest86/memtest86.SlackBuild
index 5eb66293d09e0..7e7b515b1f2fb 100644
--- a/system/memtest86/memtest86.SlackBuild
+++ b/system/memtest86/memtest86.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=memtest86
VERSION=${VERSION:-4.3.7}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
# i486 only. Modify the Makefile at your own risk :-)
ARCH=i486
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}