mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Creating a branch release/1.5 with the current 1.5.3 release code.
This is so that people working from the current stable version can still start using git.
This commit is contained in:
parent
61757ac78b
commit
2b6ad76bd5
74 changed files with 1551 additions and 856 deletions
|
@ -79,7 +79,7 @@ def mkdirs(dirs):
|
|||
else:
|
||||
cmds += [(node, [], [])]
|
||||
# Need to be careful here as our helper scripts may not be installed yet.
|
||||
fullcmds += [("test -d %s || mkdir %s 2>/dev/null; echo $?; echo ~~~" % (dir, dir))]
|
||||
fullcmds += [("test -d %s || mkdir -p %s 2>/dev/null; echo $?; echo ~~~" % (dir, dir))]
|
||||
|
||||
for (node, success, output) in runHelperParallel(cmds, fullcmds=fullcmds):
|
||||
results += [(node, success)]
|
||||
|
@ -147,7 +147,14 @@ def install(host, src, dst):
|
|||
os.remove(dst)
|
||||
|
||||
util.debug(1, "cp %s %s" % (src, dst))
|
||||
shutil.copy2(src, dst)
|
||||
|
||||
try:
|
||||
shutil.copy2(src, dst)
|
||||
except OSError:
|
||||
# Python 2.6 has a bug where this may fail on NFS. So we just
|
||||
# ignore errors.
|
||||
pass
|
||||
|
||||
return True
|
||||
else:
|
||||
util.error("install() not yet supported for remote hosts")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue