ia64/xen-unstable

changeset 7588:cf0c13832905

Make check_pkgs work with the Bourne shell
author kaf24@firebug.cl.cam.ac.uk
date Mon Oct 31 17:11:24 2005 +0100 (2005-10-31)
parents 60c941136be9
children 6be0d21bb863
files docs/check_pkgs
line diff
     1.1 --- a/docs/check_pkgs	Mon Oct 31 17:10:41 2005 +0100
     1.2 +++ b/docs/check_pkgs	Mon Oct 31 17:11:24 2005 +0100
     1.3 @@ -1,14 +1,14 @@
     1.4  
     1.5  silent_which ()
     1.6  {
     1.7 -        if ! `which $1 1>/dev/null 2>/dev/null`; then
     1.8 +        which $1 1>/dev/null 2>/dev/null || {
     1.9                  echo "*************************************************"
    1.10                  echo "*************************************************"
    1.11                  echo "* WARNING: Package '$1' is required"
    1.12                  echo "*          to build Xen documentation"
    1.13                  echo "*************************************************"
    1.14                  echo "*************************************************"
    1.15 -        fi
    1.16 +        }
    1.17          which $1 1>/dev/null 2>/dev/null
    1.18  }
    1.19