Index: trunk/tools/justMessages/update-msgs.sh |
— | — | @@ -6,7 +6,9 @@ |
7 | 7 | FOLDER="$1" |
8 | 8 | fi |
9 | 9 | |
10 | | -if ! which "$JUSTMESSAGES" 2> /dev/null 1>&2; then |
| 10 | +if which "$JUSTMESSAGES" 2> /dev/null 1>&2; then |
| 11 | + : # Solaris sh doesn't lile if ! <command> (!: not found) |
| 12 | +else |
11 | 13 | DIRNAME=`dirname $0` |
12 | 14 | if [ -z "$DIRNAME" ]; then |
13 | 15 | DIRNAME="." |
— | — | @@ -25,5 +27,6 @@ |
26 | 28 | find "$TEMP" -name "*.php" -exec "$JUSTMESSAGES" \{\} + |
27 | 29 | touch "$TEMP/.svn/lock" |
28 | 30 | rsync -a --delete "$TEMP"/ "$FOLDER" |
| 31 | +rm -rf "$TEMP" |
29 | 32 | # $LOCKFILE removed on exit |
30 | 33 | |