source: autobuild/scripts/extupdate @ 905

Last change on this file since 905 was 905, checked in by moo, 2 years 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
8loadExt "$1"
9loadExtVersion "$2"
10
11[[ ! -d "$extDirVersioned" ]] && die "$extDirVersioned not found"
12
13stamp="$extDir/.stamp.${extVersion}"
14
15svnUp "$extDirVersioned" || die
16svnRevOf "$extDirVersioned" > "$stamp.tmp"
17cmp "$stamp.tmp" "$stamp" >/dev/null 2>&1 || mv "$stamp.tmp" "$stamp"
18rm -f "$stamp.tmp"
Note: See TracBrowser for help on using the repository browser.