mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +00:00
dkms-install: Don't hardcode parent folder
This commit is contained in:
parent
9e298d0fa3
commit
3fcba157f9
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user