[BACK]Return to dist CVS log [TXT][DIR] Up to [local] / openbsd / backup_config

File: [local] / openbsd / backup_config / dist (download)

Revision 1.2, Thu Dec 3 17:37:17 2009 UTC (14 years, 7 months ago) by andrew
Branch: MAIN
Changes since 1.1: +5 -3 lines

mention what file got created so there is feedback that somthing happened

#!/bin/sh
# $RedRiver: dist,v 1.1 2009/02/05 22:42:00 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