Skip to content

Commit 9cdd9ad

Browse files
committed
Fixed a problem with writing to /dev/stderr in some environments, in docker/updatedb.
- Legacy-Id: 18251
1 parent ea7b2e7 commit 9cdd9ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/updatedb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,5 @@ if [ "$DROP" ]; then
154154
diff <(zcat $DATADIR/ietf_utf8.sql.gz | grep '^DROP TABLE IF EXISTS' | tr -d '`;' | awk '{ print $5 }') \
155155
<($parent/ietf/manage.py dbshell <<< 'show tables;' | tail -n +2) \
156156
| grep '^>' | awk '{print "drop table if exists", $2, ";";}' \
157-
| tee /dev/stderr | $parent/ietf/manage.py dbshell
157+
| tee >(cat >&2) | $parent/ietf/manage.py dbshell
158158
fi

0 commit comments

Comments
 (0)