diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-06-10 00:48:24 +0200 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-06-10 14:15:10 +0200 |
commit | cdf580ee376c2b1b75a102e326c9d41a679d2e89 (patch) | |
tree | bc26f19366f621f1195da02b60e30faf697f4a73 /build/build.xml | |
parent | 88d16b47a408640a4e46096b3633ca05a791a8af (diff) | |
download | forums-cdf580ee376c2b1b75a102e326c9d41a679d2e89.tar forums-cdf580ee376c2b1b75a102e326c9d41a679d2e89.tar.gz forums-cdf580ee376c2b1b75a102e326c9d41a679d2e89.tar.bz2 forums-cdf580ee376c2b1b75a102e326c9d41a679d2e89.tar.xz forums-cdf580ee376c2b1b75a102e326c9d41a679d2e89.zip |
[ticket/13823] Change diff options while packaging to not ignore all whitespaces
Removed:
-w, --ignore-all-space Ignore white space when comparing lines.
Added:
-Z, --ignore-trailing-space Ignore white space at line end.
-b, --ignore-space-change Ignore changes in the amount of white space.
PHPBB3-13823
Diffstat (limited to 'build/build.xml')
-rw-r--r-- | build/build.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/build.xml b/build/build.xml index 71fdecad49..94aa1bf699 100644 --- a/build/build.xml +++ b/build/build.xml @@ -105,7 +105,7 @@ <property name="dir" value="build/old_versions/release-${version}" /> </phingcall> - <exec dir="build/old_versions" command="LC_ALL=C diff -crNEBwd release-${version} release-${newversion} > + <exec dir="build/old_versions" command="LC_ALL=C diff -crNEBZbd release-${version} release-${newversion} > ../new_version/patches/phpBB-${version}_to_${newversion}.patch" escape="false" /> </target> @@ -132,13 +132,13 @@ <target name="package" depends="clean,prepare,prepare-new-version,old-version-diffs"> <exec dir="build" command="php -f package.php '${versions}' > logs/package.log" escape="false" /> <exec dir="build" escape="false" - command="diff -crNEBwd old_versions/release-${prevversion}/language new_version/phpBB3/language > + command="LC_ALL=C diff -crNEBZbd old_versions/release-${prevversion}/language new_version/phpBB3/language > save/phpbb-${prevversion}_to_${newversion}_language.patch" /> <exec dir="build" escape="false" - command="diff -crNEBwd old_versions/release-${prevversion}/styles/prosilver new_version/phpBB3/styles/prosilver > + command="LC_ALL=C diff -crNEBZbd old_versions/release-${prevversion}/styles/prosilver new_version/phpBB3/styles/prosilver > save/phpbb-${prevversion}_to_${newversion}_prosilver.patch" /> <exec dir="build" escape="false" - command="diff -crNEBwd old_versions/release-${prevversion}/styles/subsilver2 new_version/phpBB3/styles/subsilver2 > + command="LC_ALL=C diff -crNEBZbd old_versions/release-${prevversion}/styles/subsilver2 new_version/phpBB3/styles/subsilver2 > save/phpbb-${prevversion}_to_${newversion}_subsilver2.patch" /> <exec dir="build" escape="false" |