Skip to content

Commit

Permalink
Attempt to correct file system case sensitivity.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Aug 6, 2017
1 parent 6c6222c commit a1043bc
Show file tree
Hide file tree
Showing 16 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions lang/m2/comp/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ normalrule {
}
}

for _, f in ipairs(filenamesof("./*.H")) do
local name = replace(basename(f), "%.H$", "")
for _, f in ipairs(filenamesof("./*.xh")) do
local name = replace(basename(f), "%.xh$", "")
normalrule {
name = name.."_h",
ins = {
Expand All @@ -46,8 +46,8 @@ for _, f in ipairs(filenamesof("./*.H")) do
}
end

for _, f in ipairs(filenamesof("./*.C")) do
local name = replace(basename(f), "%.C$", "")
for _, f in ipairs(filenamesof("./*.xc")) do
local name = replace(basename(f), "%.xc$", "")
normalrule {
name = name.."_c",
ins = {
Expand All @@ -65,8 +65,8 @@ normalrule {
name = "next_c",
ins = {
"./make.next",
"./*.H",
"./*.C",
"./*.xh",
"./*.xc",
},
outleaves = { "next.c" },
commands = {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions lang/pc/comp/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ normalrule {
}
}

for _, f in ipairs(filenamesof("./*.H")) do
local name = replace(basename(f), "%.H$", "")
for _, f in ipairs(filenamesof("./*.xh")) do
local name = replace(basename(f), "%.xh$", "")
normalrule {
name = name.."_h",
ins = {
Expand All @@ -46,8 +46,8 @@ for _, f in ipairs(filenamesof("./*.H")) do
}
end

for _, f in ipairs(filenamesof("./*.C")) do
local name = replace(basename(f), "%.C$", "")
for _, f in ipairs(filenamesof("./*.xc")) do
local name = replace(basename(f), "%.xc$", "")
normalrule {
name = name.."_c",
ins = {
Expand All @@ -65,8 +65,8 @@ normalrule {
name = "next_c",
ins = {
"./make.next",
"./*.H",
"./*.C",
"./*.xh",
"./*.xc",
},
outleaves = { "next.c" },
commands = {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a1043bc

Please sign in to comment.