Patch by Matt Madia: Replaced non-POSIX "&>" by "2>&1 >".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35275 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -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" &> /dev/null
|
make PREFIX=/boot/common CFLAGS="-I. -Wall -D_BSD_SOURCE" 2>&1 > /dev/null
|
||||||
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 &> /dev/null
|
b43-fwcutter $file 2>&1 > /dev/null
|
||||||
|
|
||||||
# Rename the pieces.
|
# Rename the pieces.
|
||||||
cd b43legacy
|
cd b43legacy
|
||||||
|
|||||||
@@ -234,7 +234,7 @@ function GetBuildFile()
|
|||||||
cd ${baseDir}
|
cd ${baseDir}
|
||||||
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//'`
|
||||||
wget ${baseURL}${revision}/haiku/trunk/build/jam/${file} &> /dev/null
|
wget ${baseURL}${revision}/haiku/trunk/build/jam/${file} 2>&1 > /dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
. /etc/profile &> /dev/null
|
. /etc/profile 2>&1 > /dev/null
|
||||||
|
|
||||||
whence $*
|
whence $*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user