Attempt to mix yes and execute()
This commit is contained in:
@@ -635,7 +635,7 @@ from_source() {
|
||||
echo "$config" >> "$seed_file"
|
||||
done
|
||||
|
||||
execute make "${make_opts[@]}" "-j1" oldconfig
|
||||
execute bash -c "yes '' | make ${make_opts[*]} -j1 oldconfig"
|
||||
|
||||
# make_opts+=("-j$(($(nproc)-2))")
|
||||
((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-2))")
|
||||
|
||||
Reference in New Issue
Block a user