Ticket #5370: SwapOrderOfShellRedirection-dev_null-2_1.patch

File SwapOrderOfShellRedirection-dev_null-2_1.patch, 1.5 KB (added by mmadia, 15 years ago)
  • data/bin/which

     
    11#!/bin/bash
    22
    3 . /etc/profile 2>&1 > /dev/null
     3. /etc/profile > /dev/null 2>&1
    44
    55whence $*
    66
  • data/bin/installoptionalpackage

     
    279279        local baseURL=http://dev.haiku-os.org/export/
    280280        local revision=`uname -v | awk '{print $1}' | sed -e 's/r//'`
    281281        local url="${baseURL}${revision}/haiku/trunk/build/jam/${buildfile}"
    282         wget -nv ${url} 2>&1 > /dev/null
     282        wget -nv ${url} > /dev/null 2>&1
    283283    fi
    284284}
    285285
  • data/bin/install-wifi-firmwares.sh

     
    301301
    302302    # Build b43-fwcutter.
    303303    echo "Compiling b43-fwcutter for installing Broadcom's firmware ..."
    304     make PREFIX=/boot/common CFLAGS="-I. -Wall -D_BSD_SOURCE" 2>&1 > /dev/null
     304    make PREFIX=/boot/common CFLAGS="-I. -Wall -D_BSD_SOURCE" > /dev/null 2>&1
    305305    if [ ! -e b43-fwcutter ] ; then
    306306        return 1
    307307    fi
     
    323323
    324324    # Cut firmware in pieces.
    325325    cd "$tempDir"
    326     b43-fwcutter $file 2>&1 > /dev/null
     326    b43-fwcutter $file > /dev/null 2>&1
    327327
    328328    # Rename the pieces.
    329329    cd b43legacy