1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Check if TMPDIR is defined

This commit is contained in:
Daniel Molina 2012-05-09 16:33:52 +02:00
parent 4c8f892d03
commit 0d5d5e2e3a
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ fi
setup()
{
TMPDIR=$(grep ^:tmpdir: $ECONE_ETC|awk '{print $2}')
test -n $TMDIR && export TMPDIR
test -n "$TMPDIR" && export TMPDIR
mkdir -p $TMPDIR
if [ -f $ECONE_LOCK_FILE ]; then

View File

@ -35,7 +35,7 @@ fi
setup()
{
TMPDIR=$(grep ^:tmpdir: $OCCI_ETC|awk '{print $2}')
test -n $TMDIR && export TMPDIR
test -n "$TMPDIR" && export TMPDIR
mkdir -p $TMPDIR
if [ -f $OCCI_LOCK_FILE ]; then

View File

@ -36,7 +36,7 @@ fi
setup()
{
TMPDIR=$(grep ^:tmpdir: $SUNSTONE_CONF|awk '{print $2}')
test -n $TMDIR && export TMPDIR
test -n "$TMPDIR" && export TMPDIR
mkdir -p $TMPDIR
if [ -f $SUNSTONE_LOCK_FILE ]; then