RethinkRobotics / baxter

Baxter Research Robot SDK
www.rethinkrobotics.com/sdk
BSD 3-Clause "New" or "Revised" License
71 stars 64 forks source link

Res #171 Use mktemp for cross-linux compatibility #172

Closed rethink-imcmahon closed 9 years ago

rethink-imcmahon commented 9 years ago

Arch Linux, among other distributions, have depricated use of the tempfile command. To make the baxter.sh script useful for all distributions, this commit switches the tempfile command to the mktemp command from the coreutils package. The functionality for Debian users should remain unchanged.

Thanks to @alainsanguinetti for reporting this under Issue #171

alainsanguinetti commented 9 years ago

+1, I confirm that it works well on Arch Linux.

rethink-imcmahon commented 9 years ago

I forgot to mention that this works well for Debian, specifically Ubuntu 14.04. The functionality between tempdir and mktemp is practically the same for our purposes.