#!/bin/bash
-oldver='1\.7\.1'
-oldmonth=August
+oldver='1\.7\.2'
+oldmonth=October
oldyear=2014
newmajor=1
newminor=7
-newpatch=2
-newmonth=October
+newpatch=3
+newmonth=November
newyear=2014
-e 's/\(the library interface of wimlib \)'$oldver'/\1'$newver'/' \
include/wimlib.h
-sed -i -e "1s/$oldmonth $oldyear/$newmonth $newyear/" doc/man[1-9]/*.[1-9].in
+sed -i -e "1s/$oldmonth $oldyear/$newmonth $newyear/;s/wimlib $oldver/wimlib $newver/" \
+ doc/man[1-9]/*.[1-9]
sed -i "s/pkgver=$oldver/pkgver=$newver/" archlinux/PKGBUILD