buildnum.sh

tinymush-3.1p1/src/buildnum.sh · 234 B

From the archive tm31p1.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
#
if test ! -f buildnum.data; then
    echo 0 > buildnum.data
fi
bnum=`awk '{ print $1 + 1 }' < buildnum.data`
echo $bnum > buildnum.data
echo $bnum

Site Stats

Snippets: 1791
Codebases: 571