summaryrefslogtreecommitdiff
path: root/system/x86_energy_perf_policy/x86_energy_perf_policy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/x86_energy_perf_policy/x86_energy_perf_policy.SlackBuild')
-rw-r--r--system/x86_energy_perf_policy/x86_energy_perf_policy.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/x86_energy_perf_policy/x86_energy_perf_policy.SlackBuild b/system/x86_energy_perf_policy/x86_energy_perf_policy.SlackBuild
index cf603d225f..4497a1f537 100644
--- a/system/x86_energy_perf_policy/x86_energy_perf_policy.SlackBuild
+++ b/system/x86_energy_perf_policy/x86_energy_perf_policy.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=x86_energy_perf_policy
SRCNAM=linux
VERSION=${VERSION:-4.4.14}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}