[Prev][Next][Index]

utils/archfind



I may have found a possible bug in utils/archfind 
  (version: pc++sage++-1.7
   arch: iris4d IRIX 5.2.2
   problem: 
     with -x, there was an additional echo of $XDEV, which made
     pvm_parch have bogus value in FixMakefile 
  )

Here's the context diff of my fix to utils/archfind:
*** archfind.~2~        Fri Oct  7 10:05:53 1994
--- archfind    Fri Oct  7 10:16:54 1994
***************
*** 92,102 ****

  if ( $#argv == 1 ) then
    if ( "$argv[1]" == "-x" ) then
-     echo $XDEV
      if ( "$XDEV" == "" ) then
        echo none
        exit 1
      else
        exit 0
      endif
    else
--- 92,102 ----

  if ( $#argv == 1 ) then
    if ( "$argv[1]" == "-x" ) then
      if ( "$XDEV" == "" ) then
        echo none
        exit 1
      else
+       echo $XDEV
        exit 0
      endif
    else

-- 
---------------------------------------------------------------------------
Stephen R. Kennon           Computational Mechanics Co. Inc.  | ~.\.      |
srk@comco.com               7701 N. Lamar, Suite 200          |   .\ .    |
phone: (512) 467-0618 x34   Austin, TX 78752                  |    .\  .  |
fax:   (512) 467-1382                                         |    . \   .|
---------------------------------------------------------------------------