Skip to content
Snippets Groups Projects
Commit f723b1b6 authored by Seblu's avatar Seblu
Browse files

update_config.sh: bug fixes

parent 88a80011
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
config_equal() config_equal()
{ {
diff -q -s src/linux/.config config.x86_64 diff -q -s src/linux/.config config.x86_64 &>/dev/null
} }
if config_equal; then if config_equal; then
(cd src/linux && make menuconfig) (cd src/linux && make menuconfig)
else else
[[ -e src ]] && rm -r src [[ -e src ]] && rm -rf src
makepkg --nobuild --force makepkg --nobuild --force
(cd src/linux && make oldconfig) (cd src/linux && make oldconfig)
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment