mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 21:34:37 +00:00
dkms-install: Don't hardcode parent folder
This commit is contained in:
parent
33d12b04c5
commit
788e49feae
@ -7,11 +7,11 @@ else
|
|||||||
echo "About to run dkms install steps..."
|
echo "About to run dkms install steps..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DRV_DIR=rtl8812au
|
DRV_DIR='pwd'
|
||||||
DRV_NAME=rtl8812au
|
DRV_NAME=rtl8812au
|
||||||
DRV_VERSION=5.3.4
|
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 add -m ${DRV_NAME} -v ${DRV_VERSION}
|
||||||
dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
|
dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
|
||||||
|
Loading…
Reference in New Issue
Block a user