diff options
-rwxr-xr-x | spec2xxx-result | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec2xxx-result b/spec2xxx-result index af7292a..9e3b21e 100755 --- a/spec2xxx-result +++ b/spec2xxx-result @@ -70,7 +70,7 @@ fi status_csv="$spec/result/status.$id.csv" # Remove stale files, if any. -rm -f "$status_csv" "$spec/result/status.$tag.csv$part" +rm -f "$status_csv" "$spec/result/status.$tag.csv.$id$part" # Generate success entries. for bmk in $(grep "Success \([0-9a-zA-Z_\.]*\) " "$log_file" \ @@ -102,7 +102,7 @@ done if [ -f "$status_csv" ]; then # Copy $status_csv to a place where run.sh can easily find it - cp "$status_csv" "$spec/result/status.$tag.csv$part" + cp "$status_csv" "$spec/result/status.$tag.csv.$id$part" fi case "$dest" in @@ -134,6 +134,6 @@ for f in $spec/result/*.$id.*; do if [ -d $f ]; then rsync --rsync-path="mkdir -p $dest_dir && rsync" "${dest_port[@]}" -a $delete $f/ $dest_host$dest_dir/$dest_f/ else - rsync --rsync-path="mkdir -p $dest_dir && rsync" "${dest_port[@]}" -a $delete $f $dest_host$dest_dir/$dest_f$part + rsync --rsync-path="mkdir -p $dest_dir && rsync" "${dest_port[@]}" -a $delete $f $dest_host$dest_dir/$dest_f.$id$part fi done |