浏览代码

fix third_party/benchmark init

Yilun Chong 7 年之前
父节点
当前提交
517dee8da3
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      benchmarks/Makefile.am

+ 1 - 2
benchmarks/Makefile.am

@@ -90,8 +90,7 @@ $(benchmarks_protoc_outputs_proto2_header): protoc_middleman2
 
 initialize_submodule:
 	oldpwd=`pwd`
-	cd $(top_srcdir)/third_party
-	git submodule update --init -r
+	cd $(top_srcdir) && git submodule update --init -r third_party/benchmark
 	cd $(top_srcdir)/third_party/benchmark && cmake -DCMAKE_BUILD_TYPE=Release && make
 	cd $$oldpwd
 	touch initialize_submodule