Commit fe046cb2 authored by Rohit Gupta's avatar Rohit Gupta

Gitlab CI:minor fix to log directory creation

parent 4947cb8f
...@@ -1304,6 +1304,8 @@ logdirOpenaircnRepo = logdir + 'openair-cn/' ...@@ -1304,6 +1304,8 @@ logdirOpenaircnRepo = logdir + 'openair-cn/'
if flag_remove_logdir == True: if flag_remove_logdir == True:
print "Removing directory: " + locallogdir print "Removing directory: " + locallogdir
os.system(' rm -fr ' + locallogdir + '; mkdir -p ' + locallogdir ) os.system(' rm -fr ' + locallogdir + '; mkdir -p ' + locallogdir )
else:
oa.system('mkdir -p ' + locallogdir)
paramiko_logfile = os.path.expandvars('$OPENAIR_DIR/cmake_targets/autotests/log/paramiko.log') paramiko_logfile = os.path.expandvars('$OPENAIR_DIR/cmake_targets/autotests/log/paramiko.log')
res=os.system(' echo > ' + paramiko_logfile) res=os.system(' echo > ' + paramiko_logfile)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment