commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/common/scripts gnue-diag.sh


From: Jason Cater
Subject: gnue/common/scripts gnue-diag.sh
Date: Fri, 11 Jan 2002 18:01:03 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/01/11 18:01:02

Modified files:
        common/scripts : gnue-diag.sh 

Log message:
        removed bash-specific tests

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/scripts/gnue-diag.sh.diff?tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: gnue/common/scripts/gnue-diag.sh
diff -c gnue/common/scripts/gnue-diag.sh:1.3 
gnue/common/scripts/gnue-diag.sh:1.4
*** gnue/common/scripts/gnue-diag.sh:1.3        Fri Jan 11 16:54:43 2002
--- gnue/common/scripts/gnue-diag.sh    Fri Jan 11 18:01:02 2002
***************
*** 73,87 ****
  
  grabAllPythons="N"
  
! if [ "$1" == "system" ]
  then
    checkSystem="Y"
  
! elif [ "$1" == "config" ]
  then
    checkConfig="Y"
  
! elif [ "$1" == "pycheck" ]
  then
    checkPython="Y"
    grabAllPythons="Y"
--- 73,87 ----
  
  grabAllPythons="N"
  
! if [ "$1" = "system" ]
  then
    checkSystem="Y"
  
! elif [ "$1" = "config" ]
  then
    checkConfig="Y"
  
! elif [ "$1" = "pycheck" ]
  then
    checkPython="Y"
    grabAllPythons="Y"
***************
*** 89,95 ****
  elif [ "$1z" != "z" ]
  then
    PYTHONBINS=$1
!   if [ `((echo print \'_Good_\'|$1) 2>&1)|grep -c _Good_` == "0" ]
    then
      echo "Cannot run $1"
      exit
--- 89,95 ----
  elif [ "$1z" != "z" ]
  then
    PYTHONBINS=$1
!   if [ `((echo print \'_Good_\'|$1) 2>&1)|grep -c _Good_` = "0" ]
    then
      echo "Cannot run $1"
      exit
***************
*** 107,113 ****
  
  fi
  
! if [ "$grabAllPythons" == "Y" ]
  then
    for f in `echo $PATH|awk '{gsub(":"," "); print $0}'`
    do
--- 107,113 ----
  
  fi
  
! if [ "$grabAllPythons" = "Y" ]
  then
    for f in `echo $PATH|awk '{gsub(":"," "); print $0}'`
    do
***************
*** 131,137 ****
  fi
  
  
! if [ "$checkPython" == "Y" ]
  then
  
    for python in $PYTHONBINS
--- 131,137 ----
  fi
  
  
! if [ "$checkPython" = "Y" ]
  then
  
    for python in $PYTHONBINS
***************
*** 197,203 ****
  fi
  
  
! if [ "$checkSystem" == "Y" ]
  then
    echo "--------------------------------------------------------------------"
    echo "Generic System Information: "
--- 197,203 ----
  fi
  
  
! if [ "$checkSystem" = "Y" ]
  then
    echo "--------------------------------------------------------------------"
    echo "Generic System Information: "
***************
*** 209,215 ****
    ps -e|grep mysql
  fi
  
! if [ "$checkConfig" == "Y" ]
  then
  
    # TODO: This makes some hellacious assumptions
--- 209,215 ----
    ps -e|grep mysql
  fi
  
! if [ "$checkConfig" = "Y" ]
  then
  
    # TODO: This makes some hellacious assumptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]