diff options
author | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2011-08-31 10:12:44 -0300 |
---|---|---|
committer | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2011-08-31 10:12:44 -0300 |
commit | 1497c91a70bc70f26b0bdda650fcaa0bbfdd1225 (patch) | |
tree | e465d320333f19a1c4c7befd117442bf53000ae0 /src | |
parent | e76fe2a7000d7f70326588f7a8fec07ca8d5ad33 (diff) | |
download | luarocks-1497c91a70bc70f26b0bdda650fcaa0bbfdd1225.tar.gz luarocks-1497c91a70bc70f26b0bdda650fcaa0bbfdd1225.tar.bz2 luarocks-1497c91a70bc70f26b0bdda650fcaa0bbfdd1225.zip |
clarified comment
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/fs/lua.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/luarocks/fs/lua.lua b/src/luarocks/fs/lua.lua index 0a748b0e..1a7e4eff 100644 --- a/src/luarocks/fs/lua.lua +++ b/src/luarocks/fs/lua.lua | |||
@@ -159,8 +159,7 @@ end | |||
159 | -- a crossplatform way. | 159 | -- a crossplatform way. |
160 | function change_dir_to_root() | 160 | function change_dir_to_root() |
161 | table.insert(dir_stack, lfs.currentdir()) | 161 | table.insert(dir_stack, lfs.currentdir()) |
162 | -- TODO Does this work on Windows? | 162 | lfs.chdir("/") -- works on Windows too |
163 | lfs.chdir("/") | ||
164 | end | 163 | end |
165 | 164 | ||
166 | --- Change working directory to the previous in the dir stack. | 165 | --- Change working directory to the previous in the dir stack. |