aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-09-27 15:32:46 -0500
committerGitHub <noreply@github.com>2020-09-27 15:32:46 -0500
commit90ddc6fe0a718737ab085493401b1c5277913449 (patch)
tree3c755f330fc615315b0a9d949d9e61a4eda7131b /bootstrap
parent1a394d7132b47527a5934066bc5d493daf963ef3 (diff)
parentd653c11d6445a9744d5cbd10c9f0ffbac9922a7d (diff)
downloadfpm-90ddc6fe0a718737ab085493401b1c5277913449.tar.gz
fpm-90ddc6fe0a718737ab085493401b1c5277913449.zip
Merge pull request #182 from urbanjost/CLI
CLI interface to further development of subcommands
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/src/Build.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/src/Build.hs b/bootstrap/src/Build.hs
index ffbf264..cdcbb02 100644
--- a/bootstrap/src/Build.hs
+++ b/bootstrap/src/Build.hs
@@ -259,7 +259,7 @@ createSourceToObjectMap buildDirectory libraryDirectory sourceFile =
sourceFileToObjectFile :: FilePath -> FilePath -> FilePath -> FilePath
sourceFileToObjectFile buildDirectory libraryDirectory sourceFile =
- buildDirectory
+ (foldl (</>) "" $ splitDirectories buildDirectory)
</> map
toLower
(pathSeparatorsToUnderscores