diff options
author | Nils Adermann <naderman@naderman.de> | 2010-02-27 21:19:43 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2010-02-27 21:19:43 +0000 |
commit | e5c6cac09a13498aec3649ca0ea8324055381d55 (patch) | |
tree | 732b82b4ecc4508dd8491c62ec705db71274df8e /build/compare.sh | |
parent | bba33ead30a243a6df1377b2ae0fa56337bacc7c (diff) | |
download | forums-e5c6cac09a13498aec3649ca0ea8324055381d55.tar forums-e5c6cac09a13498aec3649ca0ea8324055381d55.tar.gz forums-e5c6cac09a13498aec3649ca0ea8324055381d55.tar.bz2 forums-e5c6cac09a13498aec3649ca0ea8324055381d55.tar.xz forums-e5c6cac09a13498aec3649ca0ea8324055381d55.zip |
After generating all packages go through the full installs and make sure the files do not contain any errors [Bug #58255]
3.0.7-RC2 contains an image file missing one byte (icon_textbox_search.gif) you can take it from an previous phpBB3 release, it was not changed.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10549 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'build/compare.sh')
-rwxr-xr-x | build/compare.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/build/compare.sh b/build/compare.sh new file mode 100755 index 0000000000..df442fd4c7 --- /dev/null +++ b/build/compare.sh @@ -0,0 +1,39 @@ +#!/usr/bin/env bash +orig_dir="../../phpBB" + + +rm -rf test_release_files +mkdir test_release_files +cd test_release_files + +for ext in "tar.bz2" "zip" +do + cp "../new_version/release_files/$1.$ext" ./ + + if [ "$ext" = "tar.bz2" ] + then + command="tar -xjf" + else + command="unzip -q" + fi + + $command "$1.$ext" + + for file in `find phpBB3 -name '.svn' -prune -o -type f -print` + do + orig_file="${file/#phpBB3/$orig_dir}" + diff_result=`diff $orig_file $file` + + if [ -n "$diff_result" ] + then + echo "Difference in package $1.$ext" + echo $diff_result + fi + done + + rm -rf phpBB3 +done + +cd .. +rm -rf test_release_files + |