Patch by Matt Madia: Fixed stdout/stderr redirection order.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35595 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-02-24 10:57:08 +00:00
parent a4b56b16e6
commit 8480d72320
3 changed files with 4 additions and 4 deletions

View File

@ -301,7 +301,7 @@ function BuildBroadcomFWCutter()
# Build b43-fwcutter.
echo "Compiling b43-fwcutter for installing Broadcom's firmware ..."
make PREFIX=/boot/common CFLAGS="-I. -Wall -D_BSD_SOURCE" 2>&1 > /dev/null
make PREFIX=/boot/common CFLAGS="-I. -Wall -D_BSD_SOURCE" > /dev/null 2>&1
if [ ! -e b43-fwcutter ] ; then
return 1
fi
@ -323,7 +323,7 @@ function CutAndInstallBroadcomFirmware()
# Cut firmware in pieces.
cd "$tempDir"
b43-fwcutter $file 2>&1 > /dev/null
b43-fwcutter $file > /dev/null 2>&1
# Rename the pieces.
cd b43legacy

View File

@ -279,7 +279,7 @@ function GetBuildFile()
local baseURL=http://dev.haiku-os.org/export/
local revision=`uname -v | awk '{print $1}' | sed -e 's/r//'`
local url="${baseURL}${revision}/haiku/trunk/build/jam/${buildfile}"
wget -nv ${url} 2>&1 > /dev/null
wget -nv ${url} > /dev/null 2>&1
fi
}

View File

@ -1,6 +1,6 @@
#!/bin/bash
. /etc/profile 2>&1 > /dev/null
. /etc/profile > /dev/null 2>&1
whence $*