summaryrefslogtreecommitdiff
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
commitf63623fb3f31c39a79d5810a4b6360d41af3eab6 (patch)
treeb2c99dfeb26fef25ead846ca853be82cdf6fa3f4 /utils/GetSourceVersion
parentea5c2bac2692b7a13beb862cc6db755c171ea6b3 (diff)
downloadllvm-f63623fb3f31c39a79d5810a4b6360d41af3eab6.tar.gz
llvm-f63623fb3f31c39a79d5810a4b6360d41af3eab6.tar.bz2
llvm-f63623fb3f31c39a79d5810a4b6360d41af3eab6.tar.xz
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 63cfe0f499..b25f2f9773 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 "