diff --git a/release_version.txt b/release_version.txt index c00f0f3..e6c323f 100644 --- a/release_version.txt +++ b/release_version.txt @@ -1 +1 @@ -1.5.1A,md checklists +1.5.2,load EQT md to GPUshnik fix diff --git a/research/load_eqty_md.sh b/research/load_eqty_md.sh index ac44c69..8966fda 100755 --- a/research/load_eqty_md.sh +++ b/research/load_eqty_md.sh @@ -90,7 +90,6 @@ TargetFilePath="${TargetDir}/${TargetFile}" mv ${TargetFilePath} "${TargetFilePath}.saved.$(${date} '+%Y%m%d_%H%M%S')" touch ${TargetFilePath} - # ---- temp dir echo ${SourceFile} tmp_dir=$(mktemp -d) @@ -136,12 +135,19 @@ function download_file { Cmd="${Cmd} ${SourceUser}@${SourceHost}:${SourceFilePath} ${tmp_dir}/" echo ${Cmd} eval ${Cmd} + + if [[ ! -f ${tmp_dir}/${SourceFileZip} ]] ; then + echo "File ${SourceUser}@${SourceHost}:${SourceFilePath} is missing. Skipped." + return + fi + ls -lh ${tmp_dir} Cmd="gunzip ${tmp_dir}/${SourceFileZip}" echo ${Cmd} && eval ${Cmd} DbFile=${tmp_dir}/${SourceFile} + # --- T E M P - for files older than 20240813 sqlite3 ${DbFile} <