summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonic-Y3k2016-09-07 00:18:03 +0200
committerSonic-Y3k2016-09-07 00:18:03 +0200
commitb338f102713f89a99c77bbe2c95b329f499d683b (patch)
tree46c1655ec1a538c93c50b8d6c5b08d8d45f91143
parent84ee1e312b92cb0d50f9a2703ccef505b5b49604 (diff)
downloadaur-b338f102713f89a99c77bbe2c95b329f499d683b.tar.gz
Remove unnecessary awk
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b92a830b9a9..3f156e97a66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bcm20702a1-firmware
pkgdesc = Broadcom bluetooth firmware.
pkgver = 1201710
- pkgrel = 4
+ pkgrel = 5
url = http://asus.com
arch = any
license = Custom
diff --git a/PKGBUILD b/PKGBUILD
index a920ece136d..a6634675274 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgbase=bcm20702a1-firmware
pkgname=('bcm4335c0-firmware' 'bcm4350c5-firmware' 'bcm4356a2-firmware' 'bcm20702a1-firmware' 'bcm20702b0-firmware' 'bcm20703a1-firmware' 'bcm43142a0-firmware')
pkgver=1201710
-pkgrel=4
+pkgrel=5
arch=('any')
pkgdesc="Broadcom bluetooth firmware."
url="http://asus.com"
@@ -23,8 +23,8 @@ build() {
while read p; do
filename=$(echo $p|awk -F':' '{print $3}'|sed 's% %%g')
bcm=$(echo $filename|awk -F'_' '{print $1}')
- vid=$(echo $p|awk -F':' '{print $1}'|awk '{print tolower($0)}')
- pid=$(echo $p|awk -F':' '{print $2}'|awk '{print tolower($0)}')
+ vid=$(echo $p|awk -F':' '{print tolower($1)}')
+ pid=$(echo $p|awk -F':' '{print tolower($2)}')
hex2hcd "$srcdir/Win10_USB-BT400_DRIVERS/Win10_USB-BT400_Driver_Package/64/$filename" -o "$bcm-$vid-$pid.hcd"
done < "${srcdir}/filelist.txt"
}