about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-10-20 22:08:23 +0200
committerMichael Biebl <biebl@debian.org>2020-10-20 22:08:23 +0200
commit769cfe6fb306e976faea4070948c07f4e61bf849 (patch)
tree0c2235a59a607a2443c195c741c60c9a59598e51 /tools
parentb4dab9a9dd24d8d70e1bb288078570e85ad43b96 (diff)
parentf2ddac4cbc895837ddcc55015fae112f9859cd0a (diff)
Update upstream source from tag 'upstream/1.27.91'
Update to upstream version '1.27.91'
with Debian dir 00b16bc3e33f8058a60e79863d76fe240a94309d
Diffstat (limited to 'tools')
-rwxr-xr-xtools/create-exports-NetworkManager.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/create-exports-NetworkManager.sh b/tools/create-exports-NetworkManager.sh
index f439bd31..6cb7c2e7 100755
--- a/tools/create-exports-NetworkManager.sh
+++ b/tools/create-exports-NetworkManager.sh
@@ -46,7 +46,7 @@ get_symbols_nm () {
         _sort
 }
 
-get_symbols_explict() {
+get_symbols_explicit() {
     cat <<EOF | _sort
 _IO_stdin_used
 EOF
@@ -60,7 +60,7 @@ get_symbols_missing() {
             sed -n 's/^\([U]\) \(\(nm_\|nmp_\|_nm\|NM\|_NM\|nmtst_\|c_siphash_\|c_list_\).*\)$/\2/p'
     done) |
         _sort |
-        grep -Fx -f <(get_symbols_explict) -v |
+        grep -Fx -f <(get_symbols_explicit) -v |
         grep -Fx -f <(get_symbols_nm)
 }
 
@@ -82,14 +82,17 @@ do_update() {
     do_generate > ./src/NetworkManager.ver
 }
 
+SYMBOLS_MISSING="$(get_symbols_missing | pretty)"
+SYMBOLS_EXPLICIT="$(get_symbols_explicit | pretty)"
+
 do_generate() {
     cat <<EOF
 # this file is generated by $0
 {
 global:
-$(get_symbols_missing | pretty)
+$SYMBOLS_MISSING
 
-$(get_symbols_explict | pretty)
+$SYMBOLS_EXPLICIT
 local:
 	*;
 };