diff mbox

kconfig/merge_config.sh: Accept a single file

Message ID d0d3192eeda637ceed8cb82db0b092fa44afc603.1440079557.git.g2p.code@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gabriel de Perthuis Aug. 20, 2015, 2:06 p.m. UTC
merge_config.sh can usefully be applied to a single file.
It does an implicit merge with the default configuration.

Signed-off-by: Gabriel de Perthuis <g2p.code@gmail.com>
---
 scripts/kconfig/merge_config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
index 7b53f02..e914c5a 100755
--- a/scripts/kconfig/merge_config.sh
+++ b/scripts/kconfig/merge_config.sh
@@ -75,11 +75,11 @@  while true; do
 		break
 		;;
 	esac
 done
 
-if [ "$#" -lt 2 ] ; then
+if [ "$#" -lt 1 ] ; then
 	usage
 	exit
 fi
 
 INITFILE=$1