Module Name:    src
Committed By:   agc
Date:           Sun Oct 18 07:17:28 UTC 2009

Modified Files:
        src/crypto/external/bsd/netpgp/dist/bindings/lua: netpgp.lua

Log Message:
Minor changes to find lua glue library, and to set the home directory on
the correct C/Lua structure


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    src/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua
diff -u src/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua:1.1 src/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua:1.2
--- src/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua:1.1	Mon Oct 12 02:55:46 2009
+++ src/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua	Sun Oct 18 07:17:28 2009
@@ -50,7 +50,8 @@
 	extension = ".dylib"
 	io.close(f)
 end
-glupkg = package.loadlib("libluanetpgp" .. extension, "luaopen_netpgp")
+glupkg = package.loadlib("./" .. "libluanetpgp" .. extension,
+		"luaopen_netpgp")
 netpgp = glupkg()
 
 -- initialise
@@ -70,7 +71,7 @@
 	detached = "detached"
 end
 if options.homedir then
-	netpgp.homedir(netpgp, options.homedir)
+	netpgp.homedir(pgp, options.homedir)
 end
 
 -- initialise everything

Reply via email to