SHA256
1
0
forked from pool/dcraw
dcraw/update_dcraw

21 lines
906 B
Bash

#! /bin/sh
# Call this script to update dcraw to latest version.
wget -N http://www.cybercom.net/~dcoffin/dcraw/dcraw.1
wget -N http://www.cybercom.net/~dcoffin/dcraw/parse.c
wget -N http://www.cybercom.net/~dcoffin/dcraw/fujiturn.c
wget -N http://www.cybercom.net/~dcoffin/dcraw/dcwrap
wget -N http://www.cybercom.net/~dcoffin/dcraw/dcraw.c
wget -N http://www.cybercom.net/~dcoffin/dcraw/.badpixels
mv _badpixels badpixels
( URL="http://www.cybercom.net/~dcoffin/dcraw/" ; echo -e "$URL:\n" ; LC_ALL=C lynx -dump "$URL" | sed '1d;3,4d' ) >README
wget http://www.cybercom.net/~dcoffin/dcraw/RCS/dcraw.c,v
rlog dcraw.c >dcraw.log
echo
echo "Please check, whether packaged file list is up to date."
echo "Don't forget to change the version in dcraw.spec." $(head -n 1 dcraw.c,v)
echo "You can look at dcraw.log for the complete change log."
echo "Before submit, please call:"
echo "rm dcraw.c,v dcraw.log"