|
Revision 1125, 479 bytes
(checked in by jjb, 1 year ago)
|
This is no longer kept up to date, and the information is in svn.
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/sh |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
WP='/Users/john/ibiblio/lyceum/wordpress/tags' |
|---|
| 8 |
TAG='2.0.11' |
|---|
| 9 |
|
|---|
| 10 |
left=$WP/$TAG/$2 |
|---|
| 11 |
right=`pwd`/$2 |
|---|
| 12 |
|
|---|
| 13 |
if [ '-opendiff' = $1 ]; then |
|---|
| 14 |
opendiff $left $right |
|---|
| 15 |
elif [ '-kdiff3' = $1 ]; then |
|---|
| 16 |
/Applications/kdiff3.app/Contents/MacOS/kdiff3 $left $right |
|---|
| 17 |
else |
|---|
| 18 |
echo '.svn' > /tmp/diffexcludes |
|---|
| 19 |
diff -C0 -r --exclude-from=/tmp/diffexcludes --minimal $WP/$TAG/$1 `pwd`/$1 |
|---|
| 20 |
fi |
|---|