From: Antonio Ospite <ao2@ao2.it>
Date: Sat, 9 Jan 2016 11:34:48 +0000 (+0100)
Subject: kinect_fetch_fw: install the firmware as UACFirmware
X-Git-Tag: v0.5~8
X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/a6811bb34fe640cc0a17e8dde270b30a18eea39d?ds=inline;hp=2e076c08558a189b7b622ed1ac2d1a426871a68f

kinect_fetch_fw: install the firmware as UACFirmware

This makes it easier to handle it, and it is also in line with newer SDK
versions which use this name.
---

diff --git a/kinect_fetch_fw b/kinect_fetch_fw
index 004fcc2..7c84cf1 100755
--- a/kinect_fetch_fw
+++ b/kinect_fetch_fw
@@ -59,7 +59,7 @@ echo -n "Extracting the UAC firmware..."
 echo " done."
 
 FW_FILE=$(ls UACFirmware.* | cut -d ' ' -f 1)
-FIRMWARE_PATH=${FW_DESTDIR}/$(basename "$FW_FILE")
+FIRMWARE_PATH="${FW_DESTDIR}/UACFirmware"
 
 install -d "$FW_DESTDIR"
 install -m 644 "$FW_FILE" "$FIRMWARE_PATH"