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