kinect_fetch_fw: use readlink -m when setting FW_DESTDIR
authorAntonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 11:01:46 +0000 (12:01 +0100)
committerAntonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 13:51:37 +0000 (14:51 +0100)
commitda6fb36709464674bf77992da028123d15d2d5dd
tree3cd6ed7445f29053e28664bf2ef7224eb31d6d81
parent07a81ca3d88e7685e3a28981aff0c035d2c40add
kinect_fetch_fw: use readlink -m when setting FW_DESTDIR

This way the normalization succeeds even when the parent directory in
"$1" does not exists.

For example, if FW_DESTDIR is going to be set to /lib/firmware/kinect
but /lib/firmware does not exist yet, there is no reason to fail as the
install command below is going to create all the needed sub-paths.
kinect_fetch_fw