copy_headers: fixed error [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-04-05 22:43:04 +03:00
parent 980e45f15e
commit 9848fdf2ed

View File

@ -26,8 +26,7 @@ for src_file in $(clang -M -xc++ -std=gnu++1y -Wall -Werror -msse4 -mcx16 -mpopc
$(cat "$SOURCE_PATH/build/include_directories.txt") \
"$SOURCE_PATH/dbms/src/Interpreters/SpecializedAggregator.h" |
tr -d '\\' |
grep -v '.o:' |
sed -r -e 's/^.+\.cpp / /');
sed -r -e 's/^\w+\.o://');
do
dst_file=$src_file;
mkdir -p "$DST/$(echo $dst_file | sed -r -e 's/\/[^/]*$/\//')";