kinect_fetch_fw: install the firmware as UACFirmware
authorAntonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 11:34:48 +0000 (12:34 +0100)
committerAntonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 13:51:37 +0000 (14:51 +0100)
This makes it easier to handle it, and it is also in line with newer SDK
versions which use this name.

kinect_fetch_fw

index 004fcc2..7c84cf1 100755 (executable)
@@ -59,7 +59,7 @@ echo -n "Extracting the UAC firmware..."
 echo " done."
 
 FW_FILE=$(ls UACFirmware.* | cut -d ' ' -f 1)
 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"
 
 install -d "$FW_DESTDIR"
 install -m 644 "$FW_FILE" "$FIRMWARE_PATH"