File: buildnum.sh

package info (click to toggle)
tinymux 2.10.1.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 6,212 kB
  • ctags: 8,535
  • sloc: cpp: 111,587; sh: 5,867; ansic: 141; makefile: 139
file content (10 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#! /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