From 3fcba157f907430c19ec01b156446e799b0c73aa Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sun, 7 Apr 2019 18:20:30 +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}