Skip to content

Commit

Permalink
Merge branch '10-support-builtin-additional-settings'
Browse files Browse the repository at this point in the history
* 10-support-builtin-additional-settings:
  Environment can be displayed without having a valid application path
  • Loading branch information
jcfr committed Dec 3, 2012
2 parents d4a540c + f3509ce commit c2ded81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Base/ctkAppLauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -978,17 +978,17 @@ int ctkAppLauncher::processArguments()
return Self::ExitWithError;
}

if (!this->Internal->processApplicationToLaunchArgument())
{
return Self::ExitWithError;
}

if (this->Internal->ParsedArgs.value("launcher-dump-environment").toBool())
{
this->displayEnvironment();
return Self::ExitWithSuccess;
}

if (!this->Internal->processApplicationToLaunchArgument())
{
return Self::ExitWithError;
}

return Self::Continue;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set(env_var_name_2 "SOMETHING_AWESOME")
set(env_var_value_2 "Rock climbing !")
file(WRITE "${launcher}LauncherSettings.ini" "
[Application]
path=${application}
path=
[LibraryPaths]
1\\path=${library_path}
Expand Down

0 comments on commit c2ded81

Please sign in to comment.