Use package.config to get directory separator.

This commit is contained in:
Reuben Thomas
2011-06-09 15:37:25 +01:00
parent de03ad370c
commit 7e979318bd

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env lua5.1
local tmp = "/tmp"
local sep = "/"
local sep = string.match (package.config, "[^\n]+")
local upper = ".."
require"lfs"