mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
build: fix pretty() sed invocation portability in .ver script
The `\0` being used to refer to the whole match is a GNU extension. On other implementations of sed, this will simply replace the each matched line with ` 0;`, resulting in symbols being missing in the NetworkManager executable, which breaks the wifi plugin and others. Use `&` instead, which behaves as expected in all implementations. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1562
This commit is contained in:
parent
747d1100f5
commit
97abbbb987
|
@ -71,7 +71,7 @@ get_symbols_missing() {
|
|||
}
|
||||
|
||||
pretty() {
|
||||
sed 's/.*/\t\0;/'
|
||||
sed 's/.*/\t&;/'
|
||||
}
|
||||
|
||||
do_build() {
|
||||
|
|
Loading…
Reference in a new issue