/[meta-cvs]/meta-cvs/F-156CAB88D4EEE783E8C4B4146B5094E2
ViewVC logotype

Contents of /meta-cvs/F-156CAB88D4EEE783E8C4B4146B5094E2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sat Jan 26 01:56:23 2002 UTC (12 years, 2 months ago) by kaz
Branch: MAIN
Adding simple installer.
1 kaz 1.1 #!/bin/sh
2    
3     if [ $# != 1 ] ; then
4     echo "MCVS installation"
5     echo "please specify target directory as command line argument"
6     exit 1
7     else
8     TARGET=$1
9     fi
10    
11     clisp -K full -q -c mcvs-main.lisp
12     clisp -K full -q -i mcvs-main.lisp -x '(ext:saveinitmem "mcvs.mem" :quiet t)'
13    
14     if ! cp mcvs.mem "$TARGET"; then
15     echo "unable to copy to $TARGET"
16     exit 1
17     fi
18    
19     if ! cat > "$TARGET/mcvs" <<END
20     #!/usr/local/bin/clisp -K full -M $TARGET/mcvs.mem
21     (mcvs)
22     END
23     then
24     echo "could not create mcvs script in $TARGET"
25     exit 1
26     fi
27    
28     if ! chmod a+x "$TARGET/mcvs" ; then
29     echo "could not set permissions of mcvs script in $TARGET"
30     exit 1
31     fi
32    
33     exit 0

  ViewVC Help
Powered by ViewVC 1.1.5