Skip to contentSkip to conversation

kconfig/merge_config.sh: Accept a single file

PATCH New Gabriel de Perthuis 1 participant 1 message Aug 20, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kconfig/merge_config.sh: Accept a single file

merge_config.sh can usefully be applied to a single file. It does an implicit merge with the default configuration.

---
 scripts/kconfig/merge_config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/merge_config.sh +1 -1
index 7b53f02..e914c5a 100755
@@ -75,11 +75,11 @@ while true; do
 		break
 		;;
 	esac
 done
 
-if [ "$#" -lt 2 ] ; then
+if [ "$#" -lt 1 ] ; then
 	usage
 	exit
 fi
 
 INITFILE=$1
Signature · 1 line
2.5.0.347.g10df1da