diff --git a/src/main.cpp b/src/main.cpp index 38aacec..89f0709 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -107,6 +107,8 @@ int main(const int argc, const char* const* const argv) { std::cout << "Embedding update information: " << updateInformation << std::endl; args.push_back(strdup("-u")); args.push_back(updateInformation); + } else { + args.push_back(strdup("-g")); } if (getenv("SIGN") != nullptr) { @@ -120,8 +122,6 @@ int main(const int argc, const char* const* const argv) { if (getenv("OUTPUT") != nullptr) { args.push_back(strdup(getenv("OUTPUT"))); } - - args.push_back(strdup("-g")); args.push_back(nullptr);