Fetching contributors…
Cannot retrieve contributors at this time
executable file 22 lines (14 sloc) 560 Bytes
# David A. Mellis and Tom Pollard
# Script to download reference pages from Arduino website and change links
# to point to local copies of the pages.
die () { echo ERROR: $*; exit 1; }
mkdir reference || die 'unable to create reference directory'
cd reference
perl ../ || die 'unable to create local reference pages'
mkdir img
curl > img/logo.png
cd ..
zip -r shared/ reference || die 'unable to create archive'
rm -rf reference