[latex3-commits] [git/LaTeX3-latex3-l3build] spaces: Never implicitly escape spaces (2def6c6)
Marcel Fabian Krüger
tex at 2krueger.de
Wed Sep 14 19:11:14 CEST 2022
Repository : https://github.com/latex3/l3build
On branch : spaces
Link : https://github.com/latex3/l3build/commit/2def6c6b710fc5d51c89f535a7f35e2d3e59047b
>---------------------------------------------------------------
commit 2def6c6b710fc5d51c89f535a7f35e2d3e59047b
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Tue Apr 19 18:21:15 2022 +0200
Never implicitly escape spaces
>---------------------------------------------------------------
2def6c6b710fc5d51c89f535a7f35e2d3e59047b
l3build-file-functions.lua | 2 +-
l3build.lua | 15 ---------------
2 files changed, 1 insertion(+), 16 deletions(-)
diff --git a/l3build-file-functions.lua b/l3build-file-functions.lua
index 841c055..17f0bd8 100644
--- a/l3build-file-functions.lua
+++ b/l3build-file-functions.lua
@@ -177,7 +177,7 @@ function abspath(path)
if ok then
local result = currentdir()
chdir(oldpwd)
- return escapepath(gsub(gsub(result,"^\\\\%?\\",""), "\\", "/"))
+ return gsub(gsub(result,"^\\\\%?\\",""), "\\", "/")
end
error(msg)
end
diff --git a/l3build.lua b/l3build.lua
index 72d67d2..985b86a 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -93,21 +93,6 @@ end
-- comes after any user versions
build_require("variables")
--- Ensure that directories are 'space safe'
-maindir = escapepath(maindir)
-docfiledir = escapepath(docfiledir)
-sourcefiledir = escapepath(sourcefiledir)
-supportdir = escapepath(supportdir)
-testfiledir = escapepath(testfiledir)
-testsuppdir = escapepath(testsuppdir)
-builddir = escapepath(builddir)
-distribdir = escapepath(distribdir)
-localdir = escapepath(localdir)
-resultdir = escapepath(resultdir)
-testdir = escapepath(testdir)
-typesetdir = escapepath(typesetdir)
-unpackdir = escapepath(unpackdir)
-
-- Tidy up the epoch setting
-- Force an epoch if set at the command line
-- Must be done after loading variables, etc.
More information about the latex3-commits
mailing list.