diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-26 20:42:32 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-02-26 20:42:32 -0800 |
commit | 2dae1cf81619606b133888675d5ebf1b688d9d7c (patch) | |
tree | d5592c1e342ff2f98ed18983394e901fc54a336b /scripts/saveSample.sh.in | |
parent | 59bab98b2de061f395dc81f9a31157b4b1f9de91 (diff) | |
download | crosstool-ng-2dae1cf81619606b133888675d5ebf1b688d9d7c.tar.gz crosstool-ng-2dae1cf81619606b133888675d5ebf1b688d9d7c.tar.bz2 crosstool-ng-2dae1cf81619606b133888675d5ebf1b688d9d7c.zip |
Require GNU sed
After much struggling with macos (BSD) sed and even getting everything
work in crosstool-ng itself, I had to abandon that because some
components rely on GNU syntax. Specifically, GNU libc uses '/.../{H;g}'
(note absense of the separator after 'g').
So, revert the -r/-E detection and check for sed's being of GNU origin.
MacOS people, sorry, but you'd have to install GNU sed.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/saveSample.sh.in')
-rw-r--r-- | scripts/saveSample.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/saveSample.sh.in b/scripts/saveSample.sh.in index 646c1893..2e413bd0 100644 --- a/scripts/saveSample.sh.in +++ b/scripts/saveSample.sh.in @@ -50,7 +50,7 @@ force_default_opts=( \ ) regexp=${force_default_opts[*]} regexp=${regexp// /|} -grep -v -E '^(# )?CT_('"${regexp}"')' .config > .defconfig +${grep} -v -E '^(# )?CT_('"${regexp}"')' .config > .defconfig # Function to copy a file to the sample directory # Needed in case the file is already there (think of a previously available sample) |