X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/blobdiff_plain/c8cde97600e7c7905409a11441eb00b73e94f9ee..c4ebe6428cba0dbd902c540c67624bcf974f96b6:/kinect_fetch_fw diff --git a/kinect_fetch_fw b/kinect_fetch_fw index 59ccb01..061fa2f 100755 --- 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; } -TEMPDIR="$(mktemp -d)" +TEMPDIR=$(mktemp -d) trap 'rm -rf "$TEMPDIR" >/dev/null 2>&1' 0 trap "exit 2" 1 2 3 15