1
0
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:
kimocoder 2019-04-07 18:20:30 +02:00
parent 9e298d0fa3
commit 3fcba157f9

View File

@ -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}