diff options
author | Colin Watson <cjwatson@debian.org> | 2018-07-26 17:53:37 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-07-26 17:54:35 -0700 |
commit | 900ca5c0b092e50f9f17329feea3fbfe2b6e2139 (patch) | |
tree | f808d539c34bacffd2bce4f8a26e47fadf74c86b /build-aux/bootstrap | |
parent | c1599f2feb33dda51a23a3ac9e51a2e4bc98954d (diff) | |
download | gnulib-900ca5c0b092e50f9f17329feea3fbfe2b6e2139.tar.gz |
bootstrap, gnulib-tool: fix translations rsync
Previously, we created files such as $pobase/Makefile.in.in and then the
subsequent rsync would immediately delete them.
* build-aux/bootstrap (po_download_command_format): Avoid deleting
non-.po files in target directory when rsyncing translations.
* gnulib-tool (func_import): Likewise.
* pygnulib/GLImport.py (GLImport.execute): Likewise.
Diffstat (limited to 'build-aux/bootstrap')
-rwxr-xr-x | build-aux/bootstrap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 6f74a02816..fa9d7c94af 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -168,7 +168,7 @@ bootstrap_epilogue() { :; } # options because the latest/%s directory and the .po files within are # all symlinks. po_download_command_format=\ -"rsync --delete --exclude '*.s1' -Lrtvz \ +"rsync --include '*.po' --exclude '*' -Lrtvz \ 'translationproject.org::tp/latest/%s/' '%s'" # Fallback for downloading .po files (if rsync fails). |