Skip to content

setup.sh hardcodes /tmp, should honor $TMPDIR #710

Closed
@martinpitt

Description

Hello,

in our environment (Ubuntu Snappy), packaged apps cannot currently access /tmp/, but the environment sets $TMPDIR (and $TEMPDIR) to an appropriate place, see https://en.wikipedia.org/wiki/TMPDIR. But catkin's setup.sh.in doesn't honor that, but does

 _SETUP_TMP=`mktemp /tmp/setup.sh.XXXXXXXXXX`

It should call mktemp --tmpdir setup.sh.XXXXXXXXXX instead to honor those.

This is at https://github.com/ros/catkin/blob/indigo-devel/cmake/templates/setup.sh.in#L47 at the time of this writing.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions