diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:30 +0300 |
commit | 4b839d0704ee9be1dabb0310a1f03af24963637b (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/cxxsupp/libcxx/import | |
parent | f773626848a7c7456803654292e716b83d69cc12 (diff) | |
download | ydb-4b839d0704ee9be1dabb0310a1f03af24963637b.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/import')
-rwxr-xr-x | contrib/libs/cxxsupp/libcxx/import | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/import b/contrib/libs/cxxsupp/libcxx/import index f6311f6106..9b93145897 100755 --- a/contrib/libs/cxxsupp/libcxx/import +++ b/contrib/libs/cxxsupp/libcxx/import @@ -1,22 +1,22 @@ -#!/bin/sh -e - -rev=968e2739 +#!/bin/sh -e + +rev=968e2739 output_dir="libcxx-r$rev" -if [ -z $1 ] ; then - git clone https://github.com/llvm/llvm-project.git --no-checkout "$output_dir/tmp" -else - git clone --local --no-checkout $1 "$output_dir/tmp" -fi -cd "$output_dir/tmp" -git checkout "$rev" -cp -R libcxx/include ../include -cp -R libcxx/src ../src -cp libcxx/.clang-format ../.clang-format -cp libcxx/CREDITS.TXT ../CREDITS.TXT -cp libcxx/LICENSE.TXT ../LICENSE.TXT -cd .. -rm -rf tmp -rm src/CMakeLists.txt include/CMakeLists.txt +if [ -z $1 ] ; then + git clone https://github.com/llvm/llvm-project.git --no-checkout "$output_dir/tmp" +else + git clone --local --no-checkout $1 "$output_dir/tmp" +fi +cd "$output_dir/tmp" +git checkout "$rev" +cp -R libcxx/include ../include +cp -R libcxx/src ../src +cp libcxx/.clang-format ../.clang-format +cp libcxx/CREDITS.TXT ../CREDITS.TXT +cp libcxx/LICENSE.TXT ../LICENSE.TXT +cd .. +rm -rf tmp +rm src/CMakeLists.txt include/CMakeLists.txt # Fix tabs and trailing spaces find -type f | xargs sed -e 's/\t/ /g' -e 's/ *$//' -i |