diff options
author | Reuben Thomas <rrt@sc3d.org> | 2011-06-09 18:37:25 +0400 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2011-06-09 22:53:41 +0400 |
commit | 7e979318bd3d237b4fbf8da17b3ece75ac0343ba (patch) | |
tree | 3398daf611a3c99a4e0496beb6fceef91c7874ee /tests | |
parent | de03ad370c2d25e07b39a62cf3456c3e616a1f1f (diff) |
Use package.config to get directory separator.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.lua b/tests/test.lua index 6eb9f70..81a0ab6 100644 --- a/tests/test.lua +++ b/tests/test.lua @@ -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" |