3 #usage: REV4=b44c SUFFIX=rc2 /path/to/create_patch_152.sh
11 for f in $(ls *.zip); do
17 rm pukiwiki-1.5.1_utf8/cache/*.rel
18 rm pukiwiki-1.5.1_utf8/cache/*.ref
19 rm pukiwiki-1.5.1_utf8/cache/autolink.dat
20 rm pukiwiki-1.5.1_utf8/cache/entities.dat
21 rm pukiwiki-1.5.1_utf8/skin/pukiwiki.css.php
22 rm pukiwiki-1.5.1_utf8/skin/tdiary.css.php
25 rm pukiwiki-1.5.1_eucjp/cache/*.rel
26 rm pukiwiki-1.5.1_eucjp/cache/*.ref
27 rm pukiwiki-1.5.1_eucjp/cache/autolink.dat
28 rm pukiwiki-1.5.1_eucjp/cache/entities.dat
29 rm pukiwiki-1.5.1_eucjp/skin/pukiwiki.css.php
30 rm pukiwiki-1.5.1_eucjp/skin/tdiary.css.php
39 # Create patch packages
40 no_exit_diff -urN pukiwiki-1.5.1_utf8 pukiwiki-1.5.2_utf8 > update_pukiwiki_151to152_utf8.patch
41 no_exit_diff -urN pukiwiki-1.5.1_eucjp pukiwiki-1.5.2_eucjp > update_pukiwiki_151to152_eucjp.patch
42 zip update_pukiwiki_151to152_utf8.patch.zip update_pukiwiki_151to152_utf8.patch
43 zip update_pukiwiki_151to152_eucjp.patch.zip update_pukiwiki_151to152_eucjp.patch
44 cp -p update_pukiwiki_151to152_utf8.patch.zip update_pukiwiki_151to152${SUFFIX}-${REV4}_utf8.patch.zip
45 cp -p update_pukiwiki_151to152_eucjp.patch.zip update_pukiwiki_151to152${SUFFIX}-${REV4}_eucjp.patch.zip