Make check_pkgs work with the Bourne shell

This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-10-31 17:11:24 +01:00
1 parent 08cbfe6fa0
commit 4d9db38409
1 file changed
+2 -2
+2 -2
View File
@@ -1,14 +1,14 @@
silent_which ()
{
if ! `which $1 1>/dev/null 2>/dev/null`; then
which $1 1>/dev/null 2>/dev/null || {
echo "*************************************************"
echo "*************************************************"
echo "* WARNING: Package '$1' is required"
echo "* to build Xen documentation"
echo "*************************************************"
echo "*************************************************"
fi
}
which $1 1>/dev/null 2>/dev/null
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.