]> git.hungrycats.org Git - linux/commitdiff
zygo: config-kernel: allow hungry-linux-build to write a boilerplate log message
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 29 Oct 2022 15:35:19 +0000 (11:35 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sat, 29 Oct 2022 15:36:07 +0000 (11:36 -0400)
zygo/config-kernel

index abe750f1084ab4b3fab987bba42cbac635950bea..458856a4488c6625e18d779199e9541cf496ef36 100755 (executable)
@@ -1,3 +1,9 @@
 #!/bin/sh
 set -x
-KCONFIG_NOTIMESTAMP=1 make -j oldconfig && git add -f .config && git commit
+if KCONFIG_NOTIMESTAMP=1 make -j oldconfig && git add -f .config; then
+       if [ -n "$1" ] then
+               git commit -m"$1"
+       else
+               git commit
+       fi
+fi