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

Pawel Worach pawel.worach at gmail.com
Fri Jan 22 08:07:35 PST 2010


Here is a patch to de-bash the script so it works on /bin/sh != bash systems.

Index: utils/GetSourceVersion
===================================================================
--- utils/GetSourceVersion	(revision 94173)
+++ utils/GetSourceVersion	(working copy)
@@ -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 "

-- 
Pawel





More information about the llvm-commits mailing list