mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Make check_pkgs work with the Bourne shell
This commit is contained in:
1 parent
08cbfe6fa0
commit
4d9db38409
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
|
||||