summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/bin/tl-update-bindir4
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..."