Skip to content
Snippets Groups Projects

Implementation of layered LCG software stacks

Merged Pere Mato Vila requested to merge SPI-1401 into master
Compare and Show latest version
1 file
+ 4
3
Compare changes
  • Side-by-side
  • Inline
+ 4
3
@@ -355,9 +355,10 @@ def lcgcmake_upload(args):
remotedir = '/eos/project/l/lcg/www/lcgpackages/tarFiles/latest'
print("Uploading all the created binary tarfiles to the EOS repository (%s).\nPassword could be asked by 'scp'" % remotedir)
tarfiles = []
for f in os.listdir(localdir):
if os.path.isfile(os.path.join(localdir, f)) and '-HEAD' not in f:
tarfiles.append(os.path.join(localdir, f))
if os.path.isdir(localdir):
for f in os.listdir(localdir):
if os.path.isfile(os.path.join(localdir, f)) and '-HEAD' not in f:
tarfiles.append(os.path.join(localdir, f))
if not tarfiles:
print('No tarfiles to upload')
Loading