Fix mktemp to support BSD-based syntax

Bug #1246858 reported by andersonvom
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Richard Lee

Bug Description

In `tools/config/check_update.sh`, TEMPDIR is created using `mktemp -d`, but this only works for GNU mktemp.
BSD mktemp takes a mandatory template for the file/directory name, which is also supported by GNU mktemp.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/54813

Changed in heat:
assignee: nobody → Richard Lee (rblee88)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/54813
Committed: http://github.com/openstack/heat/commit/089c25a4a32fef54d555443a5671682f29acf001
Submitter: Jenkins
Branch: master

commit 089c25a4a32fef54d555443a5671682f29acf001
Author: Richard Lee <email address hidden>
Date: Thu Oct 31 14:34:44 2013 -0500

    Make check_uptodate compatible with BSD shells

    BSD mktemp requires a template for the file/directory name.
    GNU mktemp supports the option, but is not mandatory.

    This change passes in the template, so that the check_uptodate.sh is
    more compatible across different environments.

    Change-Id: Id4abb92054363416272f583600e3d8ff2a9f9d42
    Closes-Bug: 1246858

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.