Update the extraction script

This commit is contained in:
Maurizio D'Addona
2016-01-17 12:15:11 +01:00
parent b905ccdcae
commit 9e502dada8
2 changed files with 49 additions and 10 deletions

View File

@@ -22,11 +22,11 @@ all: $(OSX_DRV)
$(OSX_DRV):
@echo ""
@echo "Checking dependencies for driver donwload..."
@echo "Checking dependencies for driver download..."
@which curl xzcat cpio
@echo ""
@# Ty to wvengen, see: https://github.com/patjak/bcwc_pcie/issues/14#issuecomment-167446787
@echo "Dowloading the driver, please wait..."
@echo "Downloading the driver, please wait..."
@(curl -s -L -r "$(RANGE)" "$(URL)" | xzcat -q | cpio --format odc -i -d "./$(FILE)") &> /dev/null || true
@mv "$(FILE)" .
@rmdir -p "$(OSX_DRV_DIR)"