From 8cd88cd011253aba7560ae0356590aad7d1ed84f Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 15 May 2023 10:32:14 +0000 Subject: [PATCH] new commit --- PepDev64/BldHelper-release.sh | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/PepDev64/BldHelper-release.sh b/PepDev64/BldHelper-release.sh index 1899e71..7542448 100755 --- a/PepDev64/BldHelper-release.sh +++ b/PepDev64/BldHelper-release.sh @@ -29,40 +29,32 @@ _break=0 ; _wait=30 # Time (in seconds) to wait cd ${WorkingDir} # Run the build script - expect 50 minutes, allow 60. -./pepbld.sh 2>&1 | tee --append ${OutFile} + ./pepbld.sh 2>&1 | tee -a ${OutFile} # Timing matters, don't destroy the old one without a replacement. # Check for the ISO to appear and wait for things to settle. -#until [ -e fusato/*.iso ] -# do ((++_break)) -# [ $_break -gt $_wait ] && break || sleep 1 -#done until [ -e fusato/*.iso ] -do - ((++_break)) - [ $_break -gt $_wait ] && break || sleep 1 + do ((++_break)) + [ $_break -gt $_wait ] && break || sleep 1 done - if [ ${_break} -lt ${_wait} ] ; then mv fusato/*.iso fusato/${FileName}.iso # Make the checksum file. cd fusato -echo "# ${FileName}" > ${FileName}-sha512.checksum +echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum ### # Remove the previous files in ${LOCATION} . -rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*.iso -rm -f ${LOCATION}/${PREFIX}-${SUFFIX}*-sha512.checksum +rm -f ${LOCATION}/${FileName}*.iso +rm -f ${LOCATION}/${FileName}*-sha512.checksum #mv $(FileName}* ${LOCATION}/ mv ${FileName}.iso ${LOCATION}/${FileName}.iso mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum - -# touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}* touch ${LOCATION}/${FileName}* lb clean & @@ -82,4 +74,4 @@ done else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} mv ${OutFile} ${LogFile} -fi +fi \ No newline at end of file