Skip to content

Commit

Permalink
legal: make the date, 3 years and 6 months + today's date of the build
Browse files Browse the repository at this point in the history
in the past there was a static date, which aged out all the time.
Replace it with something programatic.

Signed-off-by: Robin Getz <robin.getz@analog.com>
  • Loading branch information
rgetz committed Jun 19, 2020
1 parent 53342ab commit 279af4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/legal_info_html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ html_h2 "Written Offer"
echo "<p>As described above, the firmware included in the ${TARGET} contains copyrighted software that is released and distributed under many licenses, including the GPL.
A copy of the licenses are included in this file (below)." >> ${FILE}
if [ "$TARGET" == "PlutoSDR" ] ; then
echo "You may obtain the complete Corresponding Source code from us for a period of three years after our last shipment of this product, which will be no earlier than 01Jan2021, by sending a money order or check for \$15 (USD) to:</p>
echo "You may obtain the complete Corresponding Source code from us for a period of three years after our last shipment of this product, which will be no earlier than " >> ${FILE}
date --date="3 years 6 months" +"%d%b%Y" >> ${FILE}
echo ", by sending a money order or check for \$15 (USD) to:</p>
<pre>
Analog Devices Inc.
Systems Development Group
Expand Down

0 comments on commit 279af4e

Please sign in to comment.