Skip to content

Commit

Permalink
Fix incorrect usage of export.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Madman10K committed Jan 1, 2025
1 parent 380706b commit 6393de8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UntitledImGuiFramework/ReleaseBuild.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ void UBT::relBuild(const std::string& name, YAML::Node& config, const std::strin
if (config["system-wide"] && config["system-wide"].as<bool>())
systemWide = "--system-wide";
#ifdef _WIN32
std::string str = "cd " + getPath() + " && bash export.sh " + name + " " + prefix + " " + systemWide + " " + cmakeArgs;
std::string str = "cd " + getPath() + " && bash " UBT_FRAMEWORK_DIR "/export.sh " + name + " " + prefix + " " + systemWide + " " + cmakeArgs;
#else
std::string str = "cd " + getPath() + " && ./export.sh " + name + " " + prefix + " " + systemWide + " " + cmakeArgs;
std::string str = "cd " + getPath() + " && " UBT_FRAMEWORK_DIR "/export.sh " + name + " " + prefix + " " + systemWide + " " + cmakeArgs;
#endif
std::cout << str << std::endl;
if (system(str.c_str()) != 0)
Expand Down

0 comments on commit 6393de8

Please sign in to comment.