File: cktcl

package info (click to toggle)
xpvm 1.2.5-11
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,368 kB
  • ctags: 1,509
  • sloc: ansic: 22,799; tcl: 7,750; makefile: 101; csh: 11; sh: 10
file content (19 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

#
# cktcl; sh replacement for cktcl.csh
#

if [ $# -lt 3 ]; then
	echo "usage: cktcl <xpvmroot> <srcdir> <file>"
	exit 0
fi

xpvmroot=$1
srcdir=$2
file=$3

if ! "cmp $srcdir/$file $xpvmroot/$file >& /dev/null"; then
	echo "Warning: TCL FILE $file has been modified - use make install"
fi