root/tags/1.0-RC3/script/compare-wordpress-structure
| Revision 1092, 0.5 kB (checked in by jjb, 1 year ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | # working directory must be the top of trunk/src/lyceum |
| 4 | # $1 is a local path to a file or dirctory |
| 5 | |
| 6 | # ~/lyceum/trunk/src/lyceum$ pwd |
| 7 | # ....../lyceum/trunk/src/lyceum |
| 8 | |
| 9 | # Assumes the entire wordpress source tree is sitting in the same directory |
| 10 | # as the entire lyceum source tree. |
| 11 | |
| 12 | # hardcode this to the version of wordpress you want to compare |
| 13 | WP='/Users/john/ibiblio/lyceum/wordpress/tags' |
| 14 | TAG='2.0.11' |
| 15 | |
| 16 | echo '.svn' > /tmp/diffexcludes |
| 17 | |
| 18 | diff -rq --exclude-from=/tmp/diffexcludes $WP/$TAG/$1 `pwd`/$1 |
Note: See TracBrowser for help on using the browser.
