Add CHDIR command line token

This commit is contained in:
Jason Perkins 2014-12-01 17:34:08 -05:00
parent f6d226c808
commit c613ea9a83

View File

@ -443,6 +443,9 @@
os.commandTokens = {
_ = {
chdir = function(v)
return "cd " .. v
end,
copy = function(v)
return "cp -rf " .. v
end,
@ -466,6 +469,9 @@
end,
},
windows = {
chdir = function(v)
return "chdir " .. path.translate(v)
end,
copy = function(v)
return "xcopy /Q /E /Y /I " .. path.translate(v)
end,