Skip to content

Commit

Permalink
* Use unix-style paths for WORKSPACE files
Browse files Browse the repository at this point in the history
  • Loading branch information
njlr committed Sep 16, 2019
1 parent 0af7877 commit bdae375
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions buckaroo/InstallCommand.fs
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,9 @@ let rec packageInstallPath (parents : PackageIdentifier list) (package : Package
| PackageIdentifier.BitBucket x -> ("bitbucket", x.Owner, x.Project)
| PackageIdentifier.GitLab x -> ("gitlab", combinePaths x.Groups, x.Project)
| PackageIdentifier.Adhoc x -> ("adhoc", x.Owner, x.Project)
Path.Combine(".", Constants.PackagesDirectory, prefix, owner, project)
String.Join ("/", [ Constants.PackagesDirectory; prefix; owner; project ])
| head::tail ->
Path.Combine(packageInstallPath tail head, packageInstallPath [] package)
|> Paths.normalize

String.Join ("/", [ packageInstallPath tail head; packageInstallPath [] package ])

let getReceiptPath installPath = installPath + ".receipt.toml"

Expand Down

0 comments on commit bdae375

Please sign in to comment.