Skip to content

Commit

Permalink
Replaced mktemp -d by stdlib::mktemp -d
Browse files Browse the repository at this point in the history
  • Loading branch information
Tfmenard committed Mar 14, 2019
1 parent da6b393 commit 12ef2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/setup_init_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ stdlib::setup_init_script() {
esac
done

init_script_dir="$(mktemp -d)"
init_script_dir="$(stdlib::mktemp -d)"
stdlib::get_from_bucket -u "${url}" -f "${fname}" -d "${init_script_dir}"
stdlib::cmd install -o 0 -g 0 -m 0755 "${init_script_dir}/${fname}" "/etc/init.d/${fname}"
stdlib::info 'Installed init script'
Expand Down

0 comments on commit 12ef2a6

Please sign in to comment.