aboutsummaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild')
-rw-r--r--system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild
index 75dc74e9342c0..9cc07b80a77df 100644
--- a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild
+++ b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.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=virtualbox-kernel-addons
VERSION=${VERSION:-5.2.8}
BUILD=${BUILD:-1}
@@ -43,7 +45,6 @@ fi
PKG_ARCH=$ARCH
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}