aboutsummaryrefslogtreecommitdiffstats
path: root/utils/GetSourceVersion
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-22 18:14:21 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-22 18:14:21 +0000
commite4a4d0de48fcefc0f53025a3ffd22d5dd3a15d76 (patch)
treeb2c99dfeb26fef25ead846ca853be82cdf6fa3f4 /utils/GetSourceVersion
parentef308f9c759863a6b143c3732ddabeb3115f7a22 (diff)
downloadexternal_llvm-e4a4d0de48fcefc0f53025a3ffd22d5dd3a15d76.zip
external_llvm-e4a4d0de48fcefc0f53025a3ffd22d5dd3a15d76.tar.gz
external_llvm-e4a4d0de48fcefc0f53025a3ffd22d5dd3a15d76.tar.bz2
Make GetSourceVersion more portable, thanks Pawel!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/GetSourceVersion')
-rwxr-xr-xutils/GetSourceVersion2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/GetSourceVersion b/utils/GetSourceVersion
index 63cfe0f..b25f2f9 100755
--- a/utils/GetSourceVersion
+++ b/utils/GetSourceVersion
@@ -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 "