Skip to content

Commit

Permalink
Merge pull request #23 from Tfmenard/setup_init_script
Browse files Browse the repository at this point in the history
Replaced mktemp -d by stdlib::mktemp -d
  • Loading branch information
adrienthebo authored Mar 14, 2019
2 parents f7eafcb + 12ef2a6 commit 5717115
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 5717115

Please sign in to comment.