Skip to content

Commit

Permalink
bug-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThummeTo committed Feb 18, 2022
1 parent c2f34a7 commit 9461205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FMIBuild.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function fmi2Save(fmu::FMU2, fmu_path::String, fmu_src_file::Union{Nothing, Stri
fmu_src_in_merge_dir = splitpath(fmu_src_file)[end]
while !isfile(joinpath(source_pkf_dir, "Project.toml")) && length(source_pkf_dir) > 0
pathcomp = splitpath(source_pkf_dir)
source_pkf_dir = (length(pathcomp) > 0 ? joinpath(pathcomp[1:end-1]...) : "")
source_pkf_dir = (length(pathcomp) > 1 ? joinpath(pathcomp[1:end-1]...) : "")
fmu_src_in_merge_dir = joinpath(pathcomp[end], fmu_src_in_merge_dir)
end
@assert length(source_pkf_dir) > 0 ["fmiBuild(...): Connot find a package where this file is stored in. For FMU-Export, this source file needs to be inside of a package."]
Expand Down

2 comments on commit 9461205

@ThummeTo
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/54910

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.2 -m "<description of version>" 946120505be40fe7ad345bf6685a2016da265796
git push origin v0.1.2

Please sign in to comment.