forked from mirrored-repos/manjaro-tools
check-yaml: move tmp_dir creation
This commit is contained in:
parent
6f00ee26bb
commit
254bcfd10f
2 changed files with 1 additions and 2 deletions
|
@ -135,8 +135,6 @@ shift $(($OPTIND - 1))
|
|||
|
||||
check_root
|
||||
|
||||
prepare_dir "${tmp_dir}"
|
||||
|
||||
eval_build_list "${list_dir_iso}" "${build_list_iso}"
|
||||
|
||||
${pretend} && display_settings && exit 1
|
||||
|
|
|
@ -30,6 +30,7 @@ write_finished_conf(){
|
|||
}
|
||||
|
||||
get_preset(){
|
||||
prepare_dir "${tmp_dir}"
|
||||
local p=${tmp_dir}/${kernel}.preset kvmaj kvmin digit
|
||||
cp ${DATADIR}/linux.preset $p
|
||||
digit=${kernel##linux}
|
||||
|
|
Loading…
Reference in a new issue