mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix dockerize-disk.sh working in non-en locale
One part of script relies on messages that are output by some system tool. In non-en locale those messages get localized which breaks the script. This patch enforces en locale for that system tool. Signed-off-by: Maxim Kulkin <maxim.kulkin@gmail.com>
This commit is contained in:
parent
9356c76d9f
commit
8630ad1530
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ mount -t aufs -o "br=$builddir/diff=rw${base_image_mounts},dio,xino=/dev/shm/auf
|
|||
|
||||
# Update files
|
||||
cd $builddir
|
||||
diff -rq disk_image workdir \
|
||||
LC_ALL=C diff -rq disk_image workdir \
|
||||
| sed -re "s|Only in workdir(.*?): |DEL \1/|g;s|Only in disk_image(.*?): |ADD \1/|g;s|Files disk_image/(.+) and workdir/(.+) differ|UPDATE /\1|g" \
|
||||
| while read action entry; do
|
||||
case "$action" in
|
||||
|
|
Loading…
Reference in a new issue