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

Daniel Dunbar daniel at zuster.org
Fri Jan 22 09:28:16 PST 2010


Please apply, thanks.

 - Daniel

On Fri, Jan 22, 2010 at 8:07 AM, Pawel Worach <pawel.worach at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list