aboutsummaryrefslogtreecommitdiff
path: root/src/gns/nss/install-nss-plugin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/nss/install-nss-plugin.sh')
-rwxr-xr-xsrc/gns/nss/install-nss-plugin.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gns/nss/install-nss-plugin.sh b/src/gns/nss/install-nss-plugin.sh
new file mode 100755
index 0000000..c87db76
--- /dev/null
+++ b/src/gns/nss/install-nss-plugin.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# $1 - shell
+# $2 - top_builddir
+# $3 - nssdir
+# $4 - sudo binary (empty if root)
+$4 $1 $2/libtool --mode=finish $3
+echo LTINST: $4 $1 $2/libtool --mode=finish $3
+$4 rm -f $3/libnss_gns.la $3/libnss_gns4.la $3/libnss_gns6.la