comparison doinstall.sh @ 1092:2e10146f7f72

[project @ 1995-02-02 16:47:56 by jwe]
author jwe
date Thu, 02 Feb 1995 16:47:56 +0000
parents 651ab12ec97b
children cdfbe8141ef6
comparison
equal deleted inserted replaced
1091:54abf1b3a8e9 1092:2e10146f7f72
163 cp octave-bug $bindir/octave-bug 163 cp octave-bug $bindir/octave-bug
164 chmod 755 $bindir/octave-bug 164 chmod 755 $bindir/octave-bug
165 165
166 echo "installing function files in $fcnfiledir" 166 echo "installing function files in $fcnfiledir"
167 ( cd scripts 167 ( cd scripts
168 ../mkinstalldirs `find . -type d | sed -e 's,^\./,,' -e "s,^,$fcnfiledir/,"` 168 ../mkinstalldirs `find . -type d -print | sed -e 's,^\./,,' -e "s,^,$fcnfiledir/,"`
169 for f in `find . -name '*.m' -o -name octaverc` 169 for f in `find . \( -name '*.m' -o -name octaverc \) -print`
170 do 170 do
171 cp $f $fcnfiledir/$f 171 cp $f $fcnfiledir/$f
172 chmod 644 $fcnfiledir/$f 172 chmod 644 $fcnfiledir/$f
173 done ) 173 done )
174 174
175 echo "installing image files in $imagedir" 175 echo "installing image files in $imagedir"
176 ( cd scripts 176 ( cd scripts
177 for f in `find . -name '*.img'` 177 for f in `find . -name '*.img' -print`
178 do 178 do
179 file=`basename $f` 179 file=`basename $f`
180 cp $f $imagedir/$file 180 cp $f $imagedir/$file
181 chmod 644 $imagedir/$file 181 chmod 644 $imagedir/$file
182 done ) 182 done )