From 110bf234790288036f208889cd9d5fd967993c38 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Mon, 16 Mar 2020 13:48:01 +0100 Subject: Add a prompt to test_diff instead of exiting unconditionally For differences in config files that can safely be ignored, introduce the possibility of continuing with the build and install instead of exiting unconditionally. --- kern | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kern b/kern index 4f039b8..83b5cb1 100755 --- a/kern +++ b/kern @@ -82,7 +82,11 @@ test_diff() { rm -f "$dt" if test $diffr -ne 0; then diff_kernel - printf "Configs differ, exiting.\n" + printf "Continue? [y/N] " + read -r response + if test "$response" = "y"; then + return 0 + fi fi return $diffr } -- cgit v1.2.3-2-gb3c3