aboutsummaryrefslogtreecommitdiff
path: root/misc/g810-led
diff options
context:
space:
mode:
Diffstat (limited to 'misc/g810-led')
-rw-r--r--misc/g810-led/g810-led.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/g810-led/g810-led.SlackBuild b/misc/g810-led/g810-led.SlackBuild
index e2a5a7b3fd034..aa8427aef2de7 100644
--- a/misc/g810-led/g810-led.SlackBuild
+++ b/misc/g810-led/g810-led.SlackBuild
@@ -20,6 +20,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=g810-led
VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}