Set to /tmp if isn't set

This commit is contained in:
Raúl Porcel 2013-01-02 11:03:19 +00:00
parent a2ea161f23
commit c569225fea
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,10 @@
# ChangeLog for releng repo
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
02 Jan 2013; Raúl Porcel <armin76@gentoo.org> tools/catalyst-auto:
Set to /tmp if $TMP_PATH isn't set
11 Sep 2012; Raúl Porcel <armin76@gentoo.org>
tools/catalyst-auto-sparc64.conf:
Remove unneeded stuff

View file

@ -108,7 +108,7 @@ fi
source ${config_file}
TMPDIR=${TMP_PATH}/catalyst-auto.${PID}
TMPDIR=${TMP_PATH:-/tmp}/catalyst-auto.${PID}
DATESTAMP=$(date +%Y%m%d)
if [ ${verbose} = 1 ]; then