[llvm-commits] [llvm] r94186 - /llvm/trunk/utils/GetSourceVersion

Daniel Dunbar daniel at zuster.org
Fri Jan 22 10:14:22 PST 2010


Author: ddunbar
Date: Fri Jan 22 12:14:21 2010
New Revision: 94186

URL: http://llvm.org/viewvc/llvm-project?rev=94186&view=rev
Log:
Make GetSourceVersion more portable, thanks Pawel!

Modified:
    llvm/trunk/utils/GetSourceVersion

Modified: llvm/trunk/utils/GetSourceVersion
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/GetSourceVersion?rev=94186&r1=94185&r2=94186&view=diff

==============================================================================
--- llvm/trunk/utils/GetSourceVersion (original)
+++ llvm/trunk/utils/GetSourceVersion Fri Jan 22 12:14:21 2010
@@ -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 "





More information about the llvm-commits mailing list