Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Support blank spaces in file names when generating sha256sums.txt #871

Merged
merged 1 commit into from Jun 2, 2015

Conversation

Projects
None yet
2 participants
Contributor

saivann commented Jun 2, 2015

This bug was preventing translation live previews to be generated due to blank lines in the urls of some recent translations.

For instance, current unreviewed Spanish translations generate a "_site/es/documento de bitcoin.html" page. With the current Makefile, xargs would search for (and fail to find) "_site/es/documento", "de", and "bitcoin.html".

Such troublesome urls are prevented on the live website using the check-for-non-ascii-urls rules in the Makefile. However, live previews are meant to ignore such mistakes (using only "make build") so all working pages can be built and previewed without interruption.

Contributor

harding commented Jun 2, 2015

Untested LGTM. Thanks!

@saivann saivann merged commit 4cb4e7e into master Jun 2, 2015

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@saivann saivann deleted the blankspaces branch Jun 2, 2015

Contributor

saivann commented Jun 2, 2015

@harding I just tested the change to make sure the resulting sha256sums.txt file was identical. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment