diff --git a/include/helper_audit_dockerfile b/include/helper_audit_dockerfile index 13174e40..31390c25 100644 --- a/include/helper_audit_dockerfile +++ b/include/helper_audit_dockerfile @@ -8,7 +8,8 @@ if [ $# -eq 0 ]; then else FILE=`echo $1 | egrep "^http|https"` if [ ! "${FILE}" = "" ] ; then - TMP_FILE=`mktemp /tmp/audit.XXXXXXXX` + CreateTempFile + TMP_FILE="${TEMP_FILE}" Display --indent 2 --text "Downloading URL ${FILE} with wget" wget -o ${TMP_FILE} ${FILE} if [ $? -gt 0 ]; then