new commit

This commit is contained in:
Manuel 2022-11-19 09:25:01 -01:00
parent b941cbc8d7
commit 0e65066875
2 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@ cd ./My-distro-configs-debian && git pull --ff-only
# Timing matters, don't destroy the old one without a replacement. # Timing matters, don't destroy the old one without a replacement.
# Check for the ISO to appear and wait for things to settle. # Check for the ISO to appear and wait for things to settle.
until [ -e build/*.iso ] until [ -e build32/*.iso ]
do ((++_break)) do ((++_break))
[ $_break -gt $_wait ] && break || sleep 1 [ $_break -gt $_wait ] && break || sleep 1
done done
@ -41,10 +41,10 @@ if [ ${_break} -lt ${_wait} ] ; then
### 10 June, 2022 - After 17 June, this comment and the following line can be removed ### 10 June, 2022 - After 17 June, this comment and the following line can be removed
echo -e "\n\tISO appeared after $_break seconds.\n" | tee --append /tmp/${FileName}.out echo -e "\n\tISO appeared after $_break seconds.\n" | tee --append /tmp/${FileName}.out
mv build/*.iso build/${FileName}.iso mv build32/*.iso build/${FileName}.iso
# Make the checksum file. # Make the checksum file.
cd build cd build32
echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum

View File

@ -32,7 +32,7 @@ cd ./My-distro-configs-debian && git pull --ff-only
# Timing matters, don't destroy the old one without a replacement. # Timing matters, don't destroy the old one without a replacement.
# Check for the ISO to appear and wait for things to settle. # Check for the ISO to appear and wait for things to settle.
until [ -e build/*.iso ] until [ -e build32/*.iso ]
do ((++_break)) do ((++_break))
[ $_break -gt $_wait ] && break || sleep 1 [ $_break -gt $_wait ] && break || sleep 1
done done
@ -41,10 +41,10 @@ if [ ${_break} -lt ${_wait} ] ; then
### 10 June, 2022 - After 17 June, this comment and the following line can be removed ### 10 June, 2022 - After 17 June, this comment and the following line can be removed
echo -e "\n\tISO appeared after $_break seconds.\n" | tee --append /tmp/${FileName}.out echo -e "\n\tISO appeared after $_break seconds.\n" | tee --append /tmp/${FileName}.out
mv build/*.iso build/${FileName}.iso mv build32/*.iso build/${FileName}.iso
# Make the checksum file. # Make the checksum file.
cd build cd build32
echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum echo "# ${FileName} ${TODAY}" > ${FileName}-sha512.checksum
sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum sha512sum ${FileName}.iso >> ${FileName}-sha512.checksum