- 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:
Federico Hernandez
2011-01-15 22:18:44 +01:00
parent c0c58f9aff
commit 55de71feca
4 changed files with 1 additions and 15 deletions

View File

@@ -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;