Replaced '&> /dev/null' with '> /dev/null 2>&1'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36362 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -252,7 +252,7 @@ get_build_tool_path()
|
|||||||
path="`pwd`/`basename "$path"`"
|
path="`pwd`/`basename "$path"`"
|
||||||
cd $oldPwd
|
cd $oldPwd
|
||||||
else
|
else
|
||||||
which "$path" &> /dev/null || {
|
which "$path" > /dev/null 2>&1 || {
|
||||||
echo "Build tool \"$path\" not found." >&2
|
echo "Build tool \"$path\" not found." >&2
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user