aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmwebcam/wmwebcam.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmwebcam/wmwebcam.SlackBuild')
-rw-r--r--desktop/wmwebcam/wmwebcam.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/wmwebcam/wmwebcam.SlackBuild b/desktop/wmwebcam/wmwebcam.SlackBuild
index cbfd26016e830..aa3497cc384a0 100644
--- a/desktop/wmwebcam/wmwebcam.SlackBuild
+++ b/desktop/wmwebcam/wmwebcam.SlackBuild
@@ -36,6 +36,8 @@
# - install binary stripped
# - TODO: find a new maintainer, as I don't own a webcam!
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmwebcam
VERSION=${VERSION:-0.3.5}
BUILD=${BUILD:-2}
@@ -49,7 +51,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}