summaryrefslogtreecommitdiffstats
path: root/system/kcm_touchpad/kcm_touchpad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/kcm_touchpad/kcm_touchpad.SlackBuild')
-rw-r--r--system/kcm_touchpad/kcm_touchpad.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/kcm_touchpad/kcm_touchpad.SlackBuild b/system/kcm_touchpad/kcm_touchpad.SlackBuild
index 1ef2fe8486..4494376f21 100644
--- a/system/kcm_touchpad/kcm_touchpad.SlackBuild
+++ b/system/kcm_touchpad/kcm_touchpad.SlackBuild
@@ -19,6 +19,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=kcm_touchpad
VERSION=${VERSION:-0.3.1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}