Skip to content

Commit

Permalink
The latest template is selected by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Jan 25, 2022
1 parent 16b7d71 commit 1251074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recompile
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ make_kernel() {
if [ ! -f ".config" ]; then
# Copy config file
echo -e "${INFO} Copy config file to ${local_kernel_dirname}"
config_demo=$(ls ${config_dir}/config-${kernel_verpatch}* 2>/dev/null | head -n 1)
config_demo=$(ls ${config_dir}/config-${kernel_verpatch}* 2>/dev/null | sort -rV | head -n 1)
config_demo_file=${config_demo##*/}
[ -z "${config_demo_file}" ] && error_msg "Missing [ config-${kernel_verpatch}* ] template!"
echo -e "${INFO} CONFIG_DEMO: [ ${config_dir}/${config_demo_file} ]"
Expand Down

0 comments on commit 1251074

Please sign in to comment.