aboutsummaryrefslogtreecommitdiff
path: root/system/stress-ng
diff options
context:
space:
mode:
Diffstat (limited to 'system/stress-ng')
-rw-r--r--system/stress-ng/stress-ng.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/stress-ng/stress-ng.SlackBuild b/system/stress-ng/stress-ng.SlackBuild
index 9cb38a799051..954fae47cda7 100644
--- a/system/stress-ng/stress-ng.SlackBuild
+++ b/system/stress-ng/stress-ng.SlackBuild
@@ -21,6 +21,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=stress-ng
VERSION=${VERSION:-0.12.07}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/daw}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}