#!/bin/sh

test -z "$1" && { echo "Usage: $0 header_file" ; exit 1 ; }
test -z "$SCPM_VERSION" && { echo "** WARNING: SCPM_VERSION not set, using 1.0" >&2 ; SCPM_VERSION="1.0" ; }
 
sed -e "s/_VERSION/$SCPM_VERSION/g" \
    -e "s/_DATE/$(date '+%F %R%z')/g" $1
