Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149551
b: refs/heads/master
c: 1f990cf
h: refs/heads/master
i:
  149549: 11d9587
  149547: a215918
  149543: 98f8ac3
  149535: a56a6f9
v: v3
  • Loading branch information
Michal Marek authored and Sam Ravnborg committed Jun 14, 2009
1 parent 9aea986 commit 4726e51
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: 47312d2cfd9b769c1739738602c163c4c9814c7b
refs/heads/master: 1f990cf94559e0a7363d56aade1d5dc6c515b60b
11 changes: 9 additions & 2 deletions trunk/scripts/config
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ config options command ...
commands:
--enable|-e option Enable option
--disable|-d option Disable option
--module|-m option Turn option into a module
--state|-s option Print state of option (n,y,m,undef)
--module|-m option Turn option into a module
--set-str option value
Set option to "value"
--state|-s option Print state of option (n,y,m,undef)
--enable-after|-E beforeopt option
Enable option directly after other option
Expand Down Expand Up @@ -102,6 +104,11 @@ while [ "$1" != "" ] ; do
set_var "CONFIG_$ARG" "CONFIG_$ARG=m"
;;

--set-str)
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 4726e51

Please sign in to comment.