Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7353

Modified Files:
        molmol.info atlas-3.4.1-2.info 
Log Message:
use more robust version of "head" and "tail" commands


Index: molmol.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci/molmol.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- molmol.info 17 Mar 2004 22:32:43 -0000      1.1
+++ molmol.info 7 Jan 2005 03:11:57 -0000       1.2
@@ -27,13 +27,13 @@
 cp src/iodev/IODev.c src/iodev/IODev.c-dist
 grep -v IOMotifOGLDSetDev src/iodev/IODev.c-dist > src/iodev/IODev.c
 cp molmol molmol.orig
-head -13 molmol.orig > junk.top
-tail -153 molmol.orig > junk.bottom
+head -n 13 molmol.orig > junk.top
+tail -n 153 molmol.orig > junk.bottom
 sed s/ksh/zsh/g junk.top > junk2.top
 sed 's|/opt/group/MOLMOL|%p/share/molmol|g' < junk2.top > junk3.top
 echo "localdev=Motif/OpenGL" >> junk3.top
 echo "glxdev=Motif/OpenGL" >> junk3.top
-head -149 junk.bottom > junk2.bottom
+head -n 149 junk.bottom > junk2.bottom
 cat junk3.top junk2.bottom > molmol
 echo "%p/share/molmol/src/main/molmol \$xopt"  >> molmol
 echo 'else'  >> molmol

Index: atlas-3.4.1-2.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci/atlas-3.4.1-2.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- atlas-3.4.1-2.info  24 Feb 2004 08:47:53 -0000      1.3
+++ atlas-3.4.1-2.info  7 Jan 2005 03:11:57 -0000       1.4
@@ -41,17 +41,17 @@
 Patch: %f.patch
 CompileScript: <<
  (cd ../LAPACK; sed 's|-funroll-all-loops -fno-f2c -O3|-funroll-all-loops 
-O3|g' < INSTALL/make.inc.LINUX > make.inc; cd SRC; make all)
- (make CC=cc config; export ARCH=`ls -1t Make* | head -1 | cut -f2 -d"."`; cp 
../LAPACK/lapack_LINUX.a lib/$ARCH/liblapack.a; mv Make.$ARCH Make.$ARCH.orig; 
sed 's|gcc|cc|g' < Make.$ARCH.orig > Make.$ARCH; make install arch=$ARCH)
+ (make CC=cc config; export ARCH=`ls -1t Make* | head -n 1 | cut -f2 -d"."`; 
cp ../LAPACK/lapack_LINUX.a lib/$ARCH/liblapack.a; mv Make.$ARCH 
Make.$ARCH.orig; sed 's|gcc|cc|g' < Make.$ARCH.orig > Make.$ARCH; make install 
arch=$ARCH)
 <<
 InstallScript: <<
  mkdir -p %i/lib
  mkdir -p %i/include
  mkdir -p %i/share/doc/%n
- (export ARCH=`ls -1t Make* | head -1 | cut -f2 -d"."`; ranlib 
lib/$ARCH/lib*a; cp lib/$ARCH/lib*a %i/lib)
+ (export ARCH=`ls -1t Make* | head -n 1 | cut -f2 -d"."`; ranlib 
lib/$ARCH/lib*a; cp lib/$ARCH/lib*a %i/lib)
  cp include/cblas.h %i/include
  cp doc/* %i/share/doc/%n
  cp README %i/share/doc/%n
- head -31 config.c > %i/share/doc/%n/LICENSE
+ head -n 31 config.c > %i/share/doc/%n/LICENSE
 <<
 PostInstScript: <<
  ranlib %p/lib/libatlas.a 



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to