mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
avoid extended regex features to avoid caring about sed -r vs -E
This commit is contained in:
parent
64bd345a5d
commit
5ca12d8332
@ -2,6 +2,6 @@
|
||||
|
||||
# Wrap all "#define X Y" with a #ifndef X...#endif"
|
||||
|
||||
sed -E 's/^( *#define ([^ ]+) .*)/#ifndef \2\
|
||||
sed 's/^\( *#define \([^ ][^ ]*\) .*\)/#ifndef \2\
|
||||
\1\
|
||||
#endif/'
|
||||
|
Loading…
Reference in New Issue
Block a user