buildnum.sh

mux2.6/src/buildnum.sh · 187 B

From the archive mux-2.6.0.1.unix.tar.gz

Download the archive   « Back to the archive contents

#! /bin/sh
#
#	Shell script to update the build number
#
PATH=/bin:/usr/bin:/usr/ucb
#
bnum=0`cat buildnum.data 2>/dev/null`
bnum=`expr "$bnum" + 1`
echo $bnum > buildnum.data
echo $bnum

Site Stats

Snippets: 1791
Codebases: 571