Skip to contentSkip to conversation

kconfig/merge_config.sh: Accept a single file

PATCH In review Gabriel de Perthuis 1 participant 1 message Sep 9, 2015 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1756d31a07bcee06ada066bcaccb506c6c43fc57.1441819862.git.g2p.code@gmail.com

#1 lore raw

PATCH 2/2 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.

---
 scripts/kconfig/merge_config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/merge_config.sh +1 -0
index 5f1e110..4e16681 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.6.0.rc0.29.g24f8d8a