Get into /tmp before starting building

This commit is contained in:
Yorick Barbanneau 2021-06-09 23:06:08 +02:00
parent c21d8d3da8
commit 812b52c1b4

View file

@ -42,6 +42,7 @@ function get_current_dir {
current_dir=$(get_current_dir)
scripts_dir="${current_dir}/scripts"
cd /tmp || { error "Can't go into /tmp"; exit 1; }
for script in ${scripts_dir}/*.sh
do
source $script