aboutsummaryrefslogtreecommitdiff
path: root/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild')
-rw-r--r--desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild b/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
index 5cdf2f435595d..e58b229c7f1f3 100644
--- a/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
+++ b/desktop/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin.SlackBuild
@@ -24,6 +24,8 @@
# Currently maintained by Peter Wang <novalazy@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xfce4-cpugraph-plugin
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}