projects
/
kinect-audio-setup.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1e0dfad
)
kinect_fetch_fw: declare FIRMWARE_PATH earlier and use it when installing
author
Antonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 11:25:31 +0000
(12:25 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 13:51:37 +0000
(14:51 +0100)
This is in preparation for renaming the destination firmware file.
kinect_fetch_fw
patch
|
blob
|
history
diff --git
a/kinect_fetch_fw
b/kinect_fetch_fw
index
67d4a7d
..
47f7b44
100755
(executable)
--- a/
kinect_fetch_fw
+++ b/
kinect_fetch_fw
@@
-59,11
+59,10
@@
echo -n "Extracting the UAC firmware..."
echo " done."
FW_FILE=$(ls UACFirmware.* | cut -d ' ' -f 1)
+FIRMWARE_PATH=$FW_DESTDIR/$(basename "$FW_FILE")
install -d "$FW_DESTDIR"
-install -m 644 "$FW_FILE" "$FW_DESTDIR"
-
-FIRMWARE_PATH=$FW_DESTDIR/$(basename "$FW_FILE")
+install -m 644 "$FW_FILE" "$FIRMWARE_PATH"
if [ -f "/lib/udev/rules.d/55-kinect_audio.rules" ];
then