File: e_install

package info (click to toggle)
eprover 2.6%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,288 kB
  • sloc: ansic: 331,111; csh: 12,026; python: 10,178; awk: 5,825; makefile: 461; sh: 389
file content (18 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh
#
# Just for local convenience....adapt for your own use.
#

testinstall()
{
    if test -f $1 ; then
       name=`basename $1`
       if test $1 -ef $2/$name ; then
   	   echo  $1 "and" $2/$name "are already equal" ;
       else
           cp $1 $2
       fi
    fi
}

testinstall $1 $2