From 788e49feae8ee1350c992b29794de2942c78e103 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Wed, 22 May 2019 00:11:21 +0200 Subject: [PATCH] dkms-install: Don't hardcode parent folder --- dkms-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dkms-install.sh b/dkms-install.sh index b4c4379..084ec68 100755 --- a/dkms-install.sh +++ b/dkms-install.sh @@ -7,11 +7,11 @@ else echo "About to run dkms install steps..." fi -DRV_DIR=rtl8812au +DRV_DIR='pwd' DRV_NAME=rtl8812au DRV_VERSION=5.3.4 -cp -r $(pwd) /usr/src/${DRV_NAME}-${DRV_VERSION} +cp -r ${DRV_DIR} /usr/src/${DRV_NAME}-${DRV_VERSION} dkms add -m ${DRV_NAME} -v ${DRV_VERSION} dkms build -m ${DRV_NAME} -v ${DRV_VERSION}