summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-09 22:33:54 +0000
committerKarl Berry <karl@freefriends.org>2020-01-09 22:33:54 +0000
commit8acf7dba93df5be2e0d4e38de439f69ff753d360 (patch)
tree92e203f359c12a0cef08f223d49b39eb0d803edd /Master/tlpkg
parent22ebcdd884e3e65994dd1bc9a75274f510c32515 (diff)
sh portability, use >/dev/null 2>&1 instead of >&/dev/null
git-svn-id: svn://tug.org/texlive/trunk@53359 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tl4
-rwxr-xr-xMaster/tlpkg/bin/tl-try-install2
-rwxr-xr-xMaster/tlpkg/bin/tl-update-bindir2
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlnet2
-rwxr-xr-xMaster/tlpkg/bin/tltestnet2
5 files changed, 6 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/ctan2tl b/Master/tlpkg/bin/ctan2tl
index 11cd34cfbde..55cc93e67de 100755
--- a/Master/tlpkg/bin/ctan2tl
+++ b/Master/tlpkg/bin/ctan2tl
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/bin/sh
# $Id$
# Public domain. Originally written 2005, Karl Berry.
#
# Attempt to push a package from CTAN into TL.
-renice 20 $$ >&/dev/null
+renice 20 $$ >/dev/null 2>&1
unset CDPATH # avoid extraneous output
LC_ALL=C; export LC_ALL # avoid problems with diff, comm, etc
diff --git a/Master/tlpkg/bin/tl-try-install b/Master/tlpkg/bin/tl-try-install
index 9a115528ebb..f22d10adf07 100755
--- a/Master/tlpkg/bin/tl-try-install
+++ b/Master/tlpkg/bin/tl-try-install
@@ -5,7 +5,7 @@
vc_id='$Id$'
-renice 20 $$ >&/dev/null
+renice 20 $$ >/dev/null 2>&1
# don't let cwd or existing PATH interfere
cd "$HOME" || exit 1
diff --git a/Master/tlpkg/bin/tl-update-bindir b/Master/tlpkg/bin/tl-update-bindir
index b7678ba2333..57ae42e1943 100755
--- a/Master/tlpkg/bin/tl-update-bindir
+++ b/Master/tlpkg/bin/tl-update-bindir
@@ -3,7 +3,7 @@
# Update a TeX Live Master/bin/PLATFORM directory.
vc_id='$Id$'
-renice 20 $$ >&/dev/null
+renice 20 $$ >/dev/null 2>&1
unset CDPATH
unset LS_COLORS
diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet
index 50e98e7d713..b7e83037b24 100755
--- a/Master/tlpkg/bin/tl-update-tlnet
+++ b/Master/tlpkg/bin/tl-update-tlnet
@@ -9,7 +9,7 @@
# all as specified in the options.
vc_id='$Id$'
-renice 20 $$ >&/dev/null
+renice 20 $$ >/dev/null 2>&1
unset CDPATH
unset LS_COLORS
diff --git a/Master/tlpkg/bin/tltestnet b/Master/tlpkg/bin/tltestnet
index 0fa0d1d77c7..c3fb4e228db 100755
--- a/Master/tlpkg/bin/tltestnet
+++ b/Master/tlpkg/bin/tltestnet
@@ -6,7 +6,7 @@
# See tlpkg/doc/packages.txt for some info. Assumes variables
# in ~karl/.bash_login and plenty more, sorry.
-renice 20 $$ >&/dev/null
+renice 20 $$ >/dev/null 2>&1
cd $HOME
if test "x$1" = x-s; then