projects
/
kinect-audio-setup.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c8cde97
)
kinect_fetch_fw: return value from $() does not need to be quoted
author
Antonio Ospite <ospite@studenti.unina.it>
Fri, 30 Sep 2011 11:26:48 +0000
(13:26 +0200)
committer
Antonio Ospite <ospite@studenti.unina.it>
Fri, 30 Sep 2011 11:26:48 +0000
(13:26 +0200)
kinect_fetch_fw
patch
|
blob
|
history
diff --git
a/kinect_fetch_fw
b/kinect_fetch_fw
index
59ccb01
..
061fa2f
100755
(executable)
--- a/
kinect_fetch_fw
+++ b/
kinect_fetch_fw
@@
-24,7
+24,7
@@
LOADER_PATH=${2:-"/usr/local/sbin/kinect_upload_fw"}
command -v wget >/dev/null 2>&1 || { echo "$(basename "$0"): command 'wget' is needed." ; exit 1; }
command -v 7z >/dev/null 2>&1 || { echo "$(basename "$0"): command '7z' is needed." ; exit 1; }
command -v wget >/dev/null 2>&1 || { echo "$(basename "$0"): command 'wget' is needed." ; exit 1; }
command -v 7z >/dev/null 2>&1 || { echo "$(basename "$0"): command '7z' is needed." ; exit 1; }
-TEMPDIR=
"$(mktemp -d)"
+TEMPDIR=
$(mktemp -d)
trap 'rm -rf "$TEMPDIR" >/dev/null 2>&1' 0
trap "exit 2" 1 2 3 15
trap 'rm -rf "$TEMPDIR" >/dev/null 2>&1' 0
trap "exit 2" 1 2 3 15