Skip to content

Commit

Permalink
Adjust script #2016
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Jun 14, 2024
1 parent ee8286a commit 926ae30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/resources/alma-fix/updateAlmaTestFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ function getAlmaXmlWriteFile() {
sed -i "1s/.*/$XML_HEAD/" $resourceId.xml.tmp
xmllint $resourceId.xml.tmp > $resourceId.xml
rm *.tmp
if [ ! -s "$resourceId.xml" ]; then
echo "ALMA XML for $resourceId is not available anymore" ; rm "$resourceId.xml" ; rm "$resourceId.json"
fi
}

case $1 in
Expand Down

0 comments on commit 926ae30

Please sign in to comment.