diff --git a/make_openssl_build_all_generated.sh b/make_openssl_build_all_generated.sh index fa931b92f2dda0c032bb8c7be072ca23a0620816..75cd02be37a7afc8604d69c8b348a026beaf64c1 100755 --- a/make_openssl_build_all_generated.sh +++ b/make_openssl_build_all_generated.sh @@ -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}