#!/bin/sh # $AFresh1: dist,v 1.3 2010/02/10 20:57:07 andrew Exp $ local _distname=update_openbsd local _v=`ident -q ${_distname} | awk '/,v/ { print $3 }'` if [ X"" == X"${_v}" ]; then echo Could not find version in $_distname exit 2 fi local _distfile=${_distname}-${_v}.tar.gz tar -cz \ -f $_distfile \ -s "/^/${_distname}-${_v}\//" \ README.TXT \ TODO \ backup_config \ make_SMTPAUTH_sendmail \ release.sh \ send_dmesg \ update_openbsd \ update_openbsdrc.example \ && echo Created $_distfile