diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-12 20:54:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-12 20:54:42 +0000 |
commit | b1eb290286cd05f877d670745f5737129e185c64 (patch) | |
tree | 416f46c865c336bfdead3eb21775686dbf60fec4 | |
parent | 1bcd33ae48306d4b350a8577ee022c04492d54d8 (diff) |
(badlinks): discard stderr from svn propget since svn uselessly
warns if the property is not set.
git-svn-id: svn://tug.org/texlive/trunk@40474 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/tlpkg/bin/tl-update-bindir | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-bindir b/Master/tlpkg/bin/tl-update-bindir index b2d01ef1b69..7998e0c8e69 100755 --- a/Master/tlpkg/bin/tl-update-bindir +++ b/Master/tlpkg/bin/tl-update-bindir @@ -305,7 +305,9 @@ for tlname in $tlnames; do # be sure the svn:executable property is not set on any symlink. # there is also a pre-commit hook on the repo, but of course we don't # want to unnecessarily trigger it. - badlinks=`svn propget svn:executable \`cat $tmpdir/new.symlink\` \ + # We redirect stderr to /dev/null because as of svn 1.9.3 (or earlier?), + # svn gives a useless warning when the property is not set. + badlinks=`svn propget svn:executable \`cat $tmpdir/new.symlink\` 2>/dev/null\ | awk '{print $1}'` if test -n "$badlinks"; then $msg "removing svn:executable property from symlinks..." |