Commit 49e11f15 authored by Seblu's avatar Seblu
Browse files

Allow update_config.sh to pass args to make

parent 8ac617d7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,11 +9,11 @@ config_equal()
}

if config_equal; then
	(cd "$SRC" && make menuconfig)
	(cd "$SRC" && make ${1:-menuconfig})
else
	[[ -e "$SRC" ]] && rm -rf "$SRC"
	makepkg --nobuild --force
	(cd "$SRC" && make oldconfig)
	(cd "$SRC" && make ${1:-oldconfig})
fi

if ! config_equal; then