From 94a72ee98cdce9a71ac3c050c3459b5dc322c9a1 Mon Sep 17 00:00:00 2001 From: Thomas Ledoux Date: Fri, 8 Mar 2024 19:52:35 +0100 Subject: [PATCH] Correct some mmore path in regression files --- jhove-bbt/scripts/create-1.30-target.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jhove-bbt/scripts/create-1.30-target.sh b/jhove-bbt/scripts/create-1.30-target.sh index eb18adf13..3d6b6aba7 100755 --- a/jhove-bbt/scripts/create-1.30-target.sh +++ b/jhove-bbt/scripts/create-1.30-target.sh @@ -172,14 +172,14 @@ fi if [[ -f "${candidateRoot}/examples/modules/TIFF-hul/quad-lzw.tif.jhove.xml" ]]; then cp "${candidateRoot}/examples/modules/TIFF-hul/quad-lzw.tif.jhove.xml" "${targetRoot}/examples/modules/TIFF-hul/quad-lzw.tif.jhove.xml" fi -if [[ -f "${candidateRoot}/examples/modules/TIFF-hul/badfiles/jim___dg.tif.jhove.xml" ]]; then - cp "${candidateRoot}/examples/modules/TIFF-hul/badfiles/jim___dg.tif.jhove.xml" "${targetRoot}/examples/modules/TIFF-hul/badfiles/jim___dg.tif.jhove.xml" +if [[ -f "${candidateRoot}/examples/modules/TIFF-hul/jim___dg.tif.jhove.xml" ]]; then + cp "${candidateRoot}/examples/modules/TIFF-hul/jim___dg.tif.jhove.xml" "${targetRoot}/examples/modules/TIFF-hul/jim___dg.tif.jhove.xml" fi -if [[ -f "${candidateRoot}/examples/modules/TIFF-hul/ddap/fax2d.tif.jhove.xml" ]]; then - cp "${candidateRoot}/examples/modules/TIFF-hul/ddap/fax2d.tif.jhove.xml" "${targetRoot}/examples/modules/TIFF-hul/ddap/fax2d.tif.jhove.xml" +if [[ -f "${candidateRoot}/examples/modules/TIFF-hul/fax2d.tif.jhove.xml" ]]; then + cp "${candidateRoot}/examples/modules/TIFF-hul/fax2d.tif.jhove.xml" "${targetRoot}/examples/modules/TIFF-hul/fax2d.tif.jhove.xml" fi -if [[ -f "${candidateRoot}/examples/modules/TIFF-hul/ddap/peppers.tif.jhove.xml" ]]; then - cp "${candidateRoot}/examples/modules/TIFF-hul/ddap/peppers.tif.jhove.xml" "${targetRoot}/examples/modules/TIFF-hul/ddap/peppers.tif.jhove.xml" +if [[ -f "${candidateRoot}/examples/modules/TIFF-hul/peppers.tif.jhove.xml" ]]; then + cp "${candidateRoot}/examples/modules/TIFF-hul/peppers.tif.jhove.xml" "${targetRoot}/examples/modules/TIFF-hul/peppers.tif.jhove.xml" fi # Copy the PNG Module results changed by https://github.com/openpreserve/jhove/pull/843