]> git.ipfire.org Git - thirdparty/sarg.git/blame - updatecyear.sh
Indent the configure script for more readability.
[thirdparty/sarg.git] / updatecyear.sh
CommitLineData
110ce984
FM
1#!/bin/sh
2
3Year=$(date "+%Y")
4if [ -z "$Year" ] ; then
5 echo "Invalid year returned by date command: $Year"
6 exit 1
7fi
8
9perl -p -i -e "s/(^ \*\s{50,}\d{4},) 20\d{2}/\1 $Year/" *.c