Moved /tmp to ${_OPT_TMP} option
This commit is contained in:
parent
a624cae51b
commit
95d3451086
1 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@
|
||||||
# Prints a normal message
|
# Prints a normal message
|
||||||
# }
|
# }
|
||||||
|
|
||||||
STDERR=$(mktemp /tmp/STDERR.XXXXXXXXXX)
|
STDERR=$(mktemp ${_OPT_TMP}/STDERR.XXXXXXXXXX)
|
||||||
INDENT=0
|
INDENT=0
|
||||||
bail() {
|
bail() {
|
||||||
return 1
|
return 1
|
||||||
|
@ -77,7 +77,7 @@ _msg(){
|
||||||
cat ${STDERR}
|
cat ${STDERR}
|
||||||
fi
|
fi
|
||||||
rm ${STDERR}
|
rm ${STDERR}
|
||||||
STDERR=$(mktemp /tmp/STDERR.XXXXXXXXXX)
|
STDERR=$(mktemp ${_OPT_TMP}/STDERR.XXXXXXXXXX)
|
||||||
echo -en "$(_ansi lt 100)$(_ansi dn "${HEIGHT}")"
|
echo -en "$(_ansi lt 100)$(_ansi dn "${HEIGHT}")"
|
||||||
elif [ ${1} = "FAIL" ]; then
|
elif [ ${1} = "FAIL" ]; then
|
||||||
shift;
|
shift;
|
||||||
|
@ -92,7 +92,7 @@ _msg(){
|
||||||
cat ${STDERR}
|
cat ${STDERR}
|
||||||
fi
|
fi
|
||||||
rm ${STDERR}
|
rm ${STDERR}
|
||||||
STDERR=$(mktemp /tmp/STDERR.XXXXXXXXXX)
|
STDERR=$(mktemp ${_OPT_TMP}/STDERR.XXXXXXXXXX)
|
||||||
echo -en "$(_ansi lt 100)$(_ansi dn "${HEIGHT}")"
|
echo -en "$(_ansi lt 100)$(_ansi dn "${HEIGHT}")"
|
||||||
bail
|
bail
|
||||||
elif [ ${1} = "ECHO" ]; then
|
elif [ ${1} = "ECHO" ]; then
|
||||||
|
|
Reference in a new issue