diff options
author | Rob Landley <rob@landley.net> | 2013-07-25 13:49:58 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-07-25 13:49:58 -0500 |
commit | 5e56568fa59ada3c516cbf29ee1a64435f4ec4c7 (patch) | |
tree | 5c215bc46750754e5af9947893e4617b0115c548 /scripts/make.sh | |
parent | fe850691155be9a23cc1480e7afdb77028d87e78 (diff) | |
download | toybox-5e56568fa59ada3c516cbf29ee1a64435f4ec4c7.tar.gz |
Don't make a FLAG_ macro for " ", it's a control character, doing so throws the indexes off. Reported by Ashwini Sharma.
Diffstat (limited to 'scripts/make.sh')
-rwxr-xr-x | scripts/make.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make.sh b/scripts/make.sh index 2a02a722..12a228eb 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -64,7 +64,7 @@ function getflags() sed -n -e "s/.*TOY($FLX"',[ \t]*"\([^"]*\)"[ \t]*,.*)/\1/' \ -e 't keep;d;:keep' -e 's/^[<>=][0-9]//' -e 's/[?&^]//' \ -e 't keep' -e 's/[><=][0-9][0-9]*//g' -e 's/+.//g' \ - -e 's/\[[^]]*\]//g' -e 's/[-?^:&#|@*]//g' "$@" -e 'p' + -e 's/\[[^]]*\]//g' -e 's/[-?^:&#|@* ]//g' "$@" -e 'p' } # Extract global structure definitions and flag definitions from toys/*/*.c |