We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67c74a1 commit aafd8f3Copy full SHA for aafd8f3
git-cms-cvs-history
@@ -2,7 +2,7 @@
2
from commands import getstatusoutput
3
from optparse import OptionParser
4
from sys import exit
5
-from os import environ
+from os import environ, chdir
6
from os.path import exists, join
7
import re
8
@@ -58,6 +58,8 @@ if __name__ == "__main__":
58
if not cmssw_base:
59
die("Please setup your CMSSW area")
60
61
+ chdir(join(cmssw_base, "src"))
62
+
63
err, output = getstatusoutput(format("cd $CMSSW_BASE/src ; git init"))
64
if err:
65
die("Error while setting up git repository")
0 commit comments