]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix Syntax error. Redirection wrong way around. Thanks @ksooo ! 461/head
authorDreamcat4 <dreamcat4@gmail.com>
Sat, 16 Aug 2014 10:41:20 +0000 (11:41 +0100)
committerDreamcat4 <dreamcat4@gmail.com>
Sat, 16 Aug 2014 11:21:12 +0000 (12:21 +0100)
support/configure.inc
support/getmuxlist

index 23c3fbf9aa226881496307a7a43162edfcd126bf..ab4dc52fd4d927e1b812c2d59004b3984622006e 100755 (executable)
@@ -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 <<EOF
 $hdr
 EOF
-  $PYTHON $TMPDIR/$$.py 2>&1 /dev/null
+  $PYTHON $TMPDIR/$$.py > /dev/null 2>&1
   RET=$?
   rm -f $TMPDIR/$$.py
   return $RET
index 047a7af22207552f0c59c911af485534d4823865..faac9ddca870689831578b8b5310c13e6cd0626b 100755 (executable)
@@ -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)