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