SHA1
- removed previously introduced _sha1 helper command - modified helper command _version to either display the version or the sha1 depending if build from source tar ball or from git.
This commit is contained in:
@@ -523,21 +523,11 @@ int handleCompletionConfig (std::string& outs)
|
||||
// A simple version display for use by completion scripts and the task-update
|
||||
// script.
|
||||
int handleCompletionVersion (std::string& outs)
|
||||
{
|
||||
outs = VERSION;
|
||||
outs += "\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// A simple SHA1 display for use during development to identify which task
|
||||
// version one is running.
|
||||
int handleSha1 (std::string& outs)
|
||||
{
|
||||
#ifdef HAVE_COMMIT
|
||||
outs = COMMIT;
|
||||
#else
|
||||
outs = "No SHA1 available";
|
||||
outs = VERSION;
|
||||
#endif
|
||||
outs += "\n";
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user