Commit 088bf32f authored by Leigh B. Stoller's avatar Leigh B. Stoller

A small fix for backwards compatability wrt duplicating existing

experiments.
parent de06400f
......@@ -1168,6 +1168,13 @@ sub CopyInArchive()
fatal("CopyInArchive: Failed to copy ${srcdir} to $dstdir");
}
}
# This is for backwards compatability, and the mv below.
if (! -e "$dstdir/$copyeid.ns") {
my $srcfile = TBExptUserDir($copypid, $copyeid) .
"/tbdata/$copyeid.ns";
system("/bin/cp -p $srcfile $dstdir/$copyeid.ns");
}
}
else {
#
......
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