kinect_fetch_fw: return value from $() does not need to be quoted
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 30 Sep 2011 11:26:48 +0000 (13:26 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 30 Sep 2011 11:26:48 +0000 (13:26 +0200)
kinect_fetch_fw

index 59ccb01..061fa2f 100755 (executable)
@@ -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