aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-03-16 13:48:01 +0100
committerWynn Wolf Arbor2020-03-16 13:48:01 +0100
commit110bf234790288036f208889cd9d5fd967993c38 (patch)
tree55e1a7739f7dd062ecd069c3e19126ec1479e426
parentdff09036c9116125474759464284a2becb4ca27e (diff)
downloadkern-110bf234790288036f208889cd9d5fd967993c38.tar.gz
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.
-rwxr-xr-xkern6
1 files changed, 5 insertions, 1 deletions
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
}