diff 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
line wrap: on
line diff
--- a/doinstall.sh
+++ b/doinstall.sh
@@ -165,8 +165,8 @@
 
 echo "installing function files in $fcnfiledir"
 ( cd scripts
-  ../mkinstalldirs `find . -type d | sed -e 's,^\./,,' -e "s,^,$fcnfiledir/,"`
-  for f in `find . -name '*.m' -o -name octaverc`
+  ../mkinstalldirs `find . -type d -print | sed -e 's,^\./,,' -e "s,^,$fcnfiledir/,"`
+  for f in `find . \( -name '*.m' -o -name octaverc \) -print`
   do
     cp $f $fcnfiledir/$f
     chmod 644 $fcnfiledir/$f
@@ -174,7 +174,7 @@
 
 echo "installing image files in $imagedir"
 ( cd scripts
-  for f in `find . -name '*.img'`
+  for f in `find . -name '*.img' -print`
   do
     file=`basename $f`
     cp $f $imagedir/$file