Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227683
b: refs/heads/master
c: f0a6332
h: refs/heads/master
i:
  227681: eb0bdd7
  227679: dc5d5bd
v: v3
  • Loading branch information
Jonas Aaberg authored and Michal Marek committed Dec 15, 2010
1 parent b338f1b commit b43e79f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d52784eb3607bf887628742f99041b4f18d7d1de
refs/heads/master: f0a6332ce221614fbd0731af92f668892fa4b700
11 changes: 9 additions & 2 deletions trunk/scripts/config
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ commands:
--enable|-e option Enable option
--disable|-d option Disable option
--module|-m option Turn option into a module
--set-str option value
Set option to "value"
--set-str option string
Set option to "string"
--set-val option value
Set option to value
--state|-s option Print state of option (n,y,m,undef)
--enable-after|-E beforeopt option
Expand Down Expand Up @@ -109,6 +111,11 @@ while [ "$1" != "" ] ; do
shift
;;

--set-val)
set_var "CONFIG_$ARG" "CONFIG_$ARG=$1"
shift
;;

--state|-s)
if grep -q "# CONFIG_$ARG is not set" $FN ; then
echo n
Expand Down

0 comments on commit b43e79f

Please sign in to comment.