kconfig/merge_config.sh: Accept a single file
authorGabriel de Perthuis <g2p.code@gmail.com>
Wed, 14 Oct 2015 14:04:21 +0000 (16:04 +0200)
committerMichal Marek <mmarek@suse.com>
Wed, 14 Oct 2015 14:19:37 +0000 (16:19 +0200)
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>
scripts/kconfig/merge_config.sh

index 67653538e3220d46fa82a0a005d813e2bf8c8380..67d1314476314590f285a63700c13e047dc17c80 100755 (executable)
@@ -77,7 +77,7 @@ while true; do
        esac
 done
 
-if [ "$#" -lt 2 ] ; then
+if [ "$#" -lt 1 ] ; then
        usage
        exit
 fi