提交 2dabef68 编写于 作者: C code4lala

add LC_ALL=C before diff

Signed-off-by: Ncode4lala <fengziteng2@huawei.com>
Change-Id: I96e829f4af516c340556f51c3c531710267e3551
上级 1a015704
......@@ -26,7 +26,8 @@ pushd ${build_all_generated_path}
./Configure ${openssl_selected_platform}
make build_all_generated -j256 >/dev/null 2>&1
popd
diff -q -r --exclude=".git" ${openssl_source_path} openssl | sed 's#^Only in ##;s#: #/#' | tar -czf ${openssl_selected_platform}.tgz -T -
# https://stackoverflow.com/questions/11325123/how-to-compare-two-directories-using-diff-while-ignoring-non-existing-files
LC_ALL=C diff -q -r --exclude=".git" ${openssl_source_path} openssl | sed 's#^Only in ##;s#: #/#' | tar -czf ${openssl_selected_platform}.tgz -T -
rm -rf ./openssl
tar -xf ${openssl_selected_platform}.tgz
mv openssl ${openssl_selected_platform}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册