OSDN Git Service

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 63cfe0f..b25f2f9 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 "