Browse Source

kconfig/merge_config.sh: Accept a single file

merge_config.sh can usefully be applied to a single file.
It implicitly merges with the default configuration.

Signed-off-by: Gabriel de Perthuis <g2p.code@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Gabriel de Perthuis 9 years ago
parent
commit
2163e7b38f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/kconfig/merge_config.sh

+ 1 - 1
scripts/kconfig/merge_config.sh

@@ -77,7 +77,7 @@ while true; do
 	esac
 	esac
 done
 done
 
 
-if [ "$#" -lt 2 ] ; then
+if [ "$#" -lt 1 ] ; then
 	usage
 	usage
 	exit
 	exit
 fi
 fi