Make GetSourceVersion more portable, thanks Pawel!
authorDaniel Dunbar <daniel@zuster.org>
Fri, 22 Jan 2010 18:14:21 +0000 (18:14 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 22 Jan 2010 18:14:21 +0000 (18:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94186 91177308-0d34-0410-b5e6-96231b3b80d8

utils/GetSourceVersion

index 63cfe0f499877c267dcdb8c455500b350eb26468..b25f2f97736b402f2ffa199e72d8ec374abf6689 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-function usage() {
+usage() {
    echo "usage: $0 <source root>"
    echo "  Prints the source control revision of the given source directory,"
    echo "  the exact format of the revision string depends on the source "