[BACK]Return to tar_it_up.sh CVS log [TXT][DIR] Up to [local] / nagios / check_openbgpd

File: [local] / nagios / check_openbgpd / tar_it_up.sh (download)

Revision 1.2, Wed Mar 25 02:22:33 2015 UTC (9 years, 1 month ago) by andrew
Branch: MAIN
CVS Tags: v1_10_1, HEAD
Changes since 1.1: +2 -2 lines

Fix the release script

#!/bin/sh
# $AFresh1: tar_it_up.sh,v 1.2 2015/03/25 02:22:33 andrew Exp $

VER=`ident check_openbgpd | sed -ne 's/.*Revision: \([0-9]*\.[0-9]*\).*/\1/p' | head -1`

tar -czv -s "/^/check_openbgpd-${VER}\//" -f check_openbgpd-${VER}.tar.gz check_openbgpd README