Skip to content
Snippets Groups Projects
Commit 487e9395 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: Replace tempfile by mktemp in scripts

parent 105b929c
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@
echo "$INFO Modules to install: $modules_to_install"
echo "$INFO Install those modules"
logfile=$(tempfile --suffix=.log)
logfile=$(mktemp --suffix=.log)
function clean_logfile() {
rm $logfile
}
......
......@@ -47,7 +47,7 @@
else
loglevel="--log-level=test"
fi
logfile=$(tempfile --suffix=.log)
logfile=$(mktemp --suffix=.log)
COVERAGE_SOURCE="${COVERAGE_SOURCE-$project_home}"
if [ "$ODOO_TYPE" = "odoo7" ] || [ "$ODOO_TYPE" = "odoo8" ] || [ "$ODOO_TYPE" = "odoo9" ] || [ "$ODOO_TYPE" = "odoo10" ] ;
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment