From: Dreamcat4 Date: Sat, 16 Aug 2014 10:41:20 +0000 (+0100) Subject: Fix Syntax error. Redirection wrong way around. Thanks @ksooo ! X-Git-Tag: v4.1~1538 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F461%2Fhead;p=thirdparty%2Ftvheadend.git Fix Syntax error. Redirection wrong way around. Thanks @ksooo ! --- diff --git a/support/configure.inc b/support/configure.inc index 23c3fbf9a..ab4dc52fd 100755 --- a/support/configure.inc +++ b/support/configure.inc @@ -263,7 +263,7 @@ int main() { #endif } EOF - $CC $CFLAGS $LDFLAGS $TMPDIR/$$.c -o $TMPDIR/$$.bin $opt 2>&1 /dev/null + $CC $CFLAGS $LDFLAGS $TMPDIR/$$.c -o $TMPDIR/$$.bin $opt > /dev/null 2>&1 RET=$? rm -f $TMPDIR/$$.{c,bin} return $RET @@ -356,7 +356,7 @@ check_py () cat >$TMPDIR/$$.py <&1 /dev/null + $PYTHON $TMPDIR/$$.py > /dev/null 2>&1 RET=$? rm -f $TMPDIR/$$.py return $RET diff --git a/support/getmuxlist b/support/getmuxlist index 047a7af22..faac9ddca 100755 --- a/support/getmuxlist +++ b/support/getmuxlist @@ -11,13 +11,13 @@ DIR=$1 if [ -d "${DIR}/.git" ]; then LAST=$(pwd) cd "${DIR}" || exit 1 - git pull 2>&1 /dev/null || exit 1 - git reset --hard 2>&1 /dev/null || exit 1 + git pull > /dev/null 2>&1 || exit 1 + git reset --hard > /dev/null 2>&1 || exit 1 cd "${LAST}" || exit 1 # Fetch elif [ ! -d "${DIR}" ]; then URL=http://linuxtv.org/git/dtv-scan-tables.git - git clone $URL "${DIR}" 2>&1 /dev/null || exit 1 + git clone $URL "${DIR}" > /dev/null 2>&1 || exit 1 fi # Note: will not update existing set (if not .git)