[latex3-commits] [l3svn] 04/06: Simplify a function

noreply at latex-project.org noreply at latex-project.org
Sun Dec 27 15:58:23 CET 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 7bb1449554e72b84556f81d6f35825e340d4393a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Dec 27 11:15:08 2015 +0000

    Simplify a function
---
 l3build/l3build.lua |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/l3build/l3build.lua b/l3build/l3build.lua
index 359b538..7a8bc4b 100644
--- a/l3build/l3build.lua
+++ b/l3build/l3build.lua
@@ -573,8 +573,7 @@ end
 
 -- Deal with the fact that Windows and Unix use different path separators
 function unix_to_win(path)
-  local path = string.gsub(path, "/", "\\")
-  return path
+  return string.gsub(path, "/", "\\")
 end
 
 --

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list