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:
parent
a4b56b16e6
commit
8480d72320
@ -301,7 +301,7 @@ function BuildBroadcomFWCutter()
|
|||||||
|
|
||||||
# Build b43-fwcutter.
|
# Build b43-fwcutter.
|
||||||
echo "Compiling b43-fwcutter for installing Broadcom's firmware ..."
|
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
|
if [ ! -e b43-fwcutter ] ; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
@ -323,7 +323,7 @@ function CutAndInstallBroadcomFirmware()
|
|||||||
|
|
||||||
# Cut firmware in pieces.
|
# Cut firmware in pieces.
|
||||||
cd "$tempDir"
|
cd "$tempDir"
|
||||||
b43-fwcutter $file 2>&1 > /dev/null
|
b43-fwcutter $file > /dev/null 2>&1
|
||||||
|
|
||||||
# Rename the pieces.
|
# Rename the pieces.
|
||||||
cd b43legacy
|
cd b43legacy
|
||||||
|
@ -279,7 +279,7 @@ function GetBuildFile()
|
|||||||
local baseURL=http://dev.haiku-os.org/export/
|
local baseURL=http://dev.haiku-os.org/export/
|
||||||
local revision=`uname -v | awk '{print $1}' | sed -e 's/r//'`
|
local revision=`uname -v | awk '{print $1}' | sed -e 's/r//'`
|
||||||
local url="${baseURL}${revision}/haiku/trunk/build/jam/${buildfile}"
|
local url="${baseURL}${revision}/haiku/trunk/build/jam/${buildfile}"
|
||||||
wget -nv ${url} 2>&1 > /dev/null
|
wget -nv ${url} > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
. /etc/profile 2>&1 > /dev/null
|
. /etc/profile > /dev/null 2>&1
|
||||||
|
|
||||||
whence $*
|
whence $*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user