since we moved to git, I cleaned up the svn prop's from the sources and added a GIT_REVISION through git-revision.h
This commit is contained in:
@ -5,12 +5,10 @@
|
||||
Author: Andreas Suter
|
||||
e-mail: andreas.suter@psi.ch
|
||||
|
||||
$Id$
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007-2012 by Andreas Suter *
|
||||
* Copyright (C) 2007-2014 by Andreas Suter *
|
||||
* andreas.suter@psi.ch *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
@ -45,6 +43,7 @@ using namespace std;
|
||||
#include <TROOT.h>
|
||||
#include <TSystem.h>
|
||||
|
||||
#include "git-revision.h"
|
||||
#include "PMusr.h"
|
||||
#include "PStartupHandler.h"
|
||||
#include "PMsrHandler.h"
|
||||
@ -232,9 +231,9 @@ Int_t main(Int_t argc, Char_t *argv[])
|
||||
for (int i=1; i<argc; i++) {
|
||||
if (!strcmp(argv[i], "--version")) {
|
||||
#ifdef HAVE_CONFIG_H
|
||||
cout << endl << ">> musrt0 version: " << PACKAGE_VERSION << ", $Id$" << endl << endl;
|
||||
cout << endl << ">> musrt0 version: " << PACKAGE_VERSION << ", git-rev: " << GIT_REVISION << endl << endl;
|
||||
#else
|
||||
cout << endl << ">> musrt0 version: $Id$" << endl << endl;
|
||||
cout << endl << ">> musrt0 git-rev: " << GIT_REVISION << endl << endl;
|
||||
#endif
|
||||
return PMUSR_SUCCESS;
|
||||
} else if (!strcmp(argv[i], "--help")) {
|
||||
|
Reference in New Issue
Block a user