Mercurial > hg > octave-lyh
comparison doinstall.sh @ 816:522bbd75dce3
[project @ 1994-10-15 00:59:22 by jwe]
author | jwe |
---|---|
date | Sat, 15 Oct 1994 00:59:22 +0000 |
parents | f2fcdc711b5f |
children | eedd566a1e37 |
comparison
equal
deleted
inserted
replaced
815:f2fcdc711b5f | 816:522bbd75dce3 |
---|---|
134 chmod 755 $DIRS_TO_MAKE | 134 chmod 755 $DIRS_TO_MAKE |
135 | 135 |
136 if test "$prefix" = /usr/local | 136 if test "$prefix" = /usr/local |
137 then | 137 then |
138 echo "installing ./octave as $bindir/octave" | 138 echo "installing ./octave as $bindir/octave" |
139 cp ./octave $bindir/octave | 139 cp octave $bindir/octave |
140 chmod 755 $bindir/octave | 140 chmod 755 $bindir/octave |
141 else | 141 else |
142 echo "installing octave.sh as $bindir/octave" | 142 echo "installing octave.sh as $bindir/octave" |
143 sed "s|@OCTAVE_HOME@|$prefix|" octave.sh > octave.tmp | 143 sed "s|@OCTAVE_HOME@|$prefix|" octave.sh > octave.tmp |
144 cp octave.tmp $bindir/octave | 144 cp octave.tmp $bindir/octave |
145 chmod 755 $bindir/octave | 145 chmod 755 $bindir/octave |
146 | 146 |
147 echo "installing ./octave as $bindir/octave.bin" | 147 echo "installing ./octave as $bindir/octave.bin" |
148 cp ./octave $bindir/octave.bin | 148 cp octave $bindir/octave.bin |
149 chmod 755 $bindir/octave.bin | 149 chmod 755 $bindir/octave.bin |
150 fi | 150 fi |
151 | |
152 echo "installing octave-bug as $bindir/octave-bug" | |
153 cp octave-bug $bindir/octave-bug | |
154 chmod 755 $bindir/octave-bug | |
151 | 155 |
152 echo "installing function files in $fcnfiledir" | 156 echo "installing function files in $fcnfiledir" |
153 ( cd scripts | 157 ( cd scripts |
154 ../mkinstalldirs `find . -type d | sed -e 's,^\./,,' -e "s,^,$fcnfiledir/,"` | 158 ../mkinstalldirs `find . -type d | sed -e 's,^\./,,' -e "s,^,$fcnfiledir/,"` |
155 for f in `find . -name '*.m' -o name octaverc` | 159 for f in `find . -name '*.m' -o name octaverc` |