|
Last change
on this file since 905 was
905,
checked in by moo, 12 months ago
|
|
import auto build scripts
|
-
Property svn:executable set to
*
|
|
File size:
415 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | . scripts/common |
|---|
| 4 | . scripts/svn |
|---|
| 5 | |
|---|
| 6 | [[ $# != 2 ]] && die "Usage: $0 <extensionName> <extensionVersion>" |
|---|
| 7 | |
|---|
| 8 | loadExt "$1" |
|---|
| 9 | loadExtVersion "$2" |
|---|
| 10 | |
|---|
| 11 | [[ ! -d "$extDirVersioned" ]] && die "$extDirVersioned not found" |
|---|
| 12 | |
|---|
| 13 | stamp="$extDir/.stamp.${extVersion}" |
|---|
| 14 | |
|---|
| 15 | svnUp "$extDirVersioned" || die |
|---|
| 16 | svnRevOf "$extDirVersioned" > "$stamp.tmp" |
|---|
| 17 | cmp "$stamp.tmp" "$stamp" >/dev/null 2>&1 || mv "$stamp.tmp" "$stamp" |
|---|
| 18 | rm -f "$stamp.tmp" |
|---|
Note: See
TracBrowser
for help on using the repository browser.