diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2021-01-27 17:46:15 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2021-09-25 01:50:39 +0000 |
commit | 340e009ecc00e5e74d58920ca909968dc7e88af1 (patch) | |
tree | fbae5534f2c44a8c76d5c6e63be9c97c7f4d3e7b /sys/tools | |
parent | c8077ccd70cfcbcccb752e89b848f098abcb9309 (diff) | |
download | src-340e009ecc00e5e74d58920ca909968dc7e88af1.tar.gz src-340e009ecc00e5e74d58920ca909968dc7e88af1.zip |
Diffstat (limited to 'sys/tools')
-rw-r--r-- | sys/tools/makesyscalls.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua index bedece17c162..811101305ec4 100644 --- a/sys/tools/makesyscalls.lua +++ b/sys/tools/makesyscalls.lua @@ -100,7 +100,9 @@ local function cleanup() if cleantmp then if lfs.dir(tmpspace) then for fname in lfs.dir(tmpspace) do - os.remove(tmpspace .. "/" .. fname) + if fname ~= "." and fname ~= ".." then + os.remove(tmpspace .. "/" .. fname)) + end end end |