[network-manager-applet] check-exports.sh: Use NM when available (bgo #756667)



commit 8d3e0103bbd72a410c2e6672c8d21bb362fc19b6
Author: Marvin Schmidt <marv exherbo org>
Date:   Thu Oct 15 21:42:10 2015 +0200

    check-exports.sh: Use NM when available (bgo #756667)
    
    This allows setting NM to a host-prefixed nm.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756667

 src/libnm-gtk/check-exports.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libnm-gtk/check-exports.sh b/src/libnm-gtk/check-exports.sh
index bfcdf16..70b14a7 100755
--- a/src/libnm-gtk/check-exports.sh
+++ b/src/libnm-gtk/check-exports.sh
@@ -12,7 +12,7 @@ TMPFILE="$(mktemp .nm-check-exports.XXXXXX)"
 
 
 get_syms() {
-    nm "$1" |
+    ${NM:-nm} "$1" |
     sed -n 's/^[[:xdigit:]]\+ [DT] //p' |
     sort
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]