Skip to content

Commit

Permalink
Fix _strip_unnecessary_binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
CPWstatic committed Sep 27, 2021
1 parent 5326514 commit e61d64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function _find_dump_syms_tool {

# This is only for releasing the disk resources.
function _strip_unnecessary_binaries {
for bin in $(ls -1 -F ${build_dir}/bin/ | grep -v [/$]); do
for bin in $(ls -1 -F ${build_dir}/bin/ | grep -v [/$] | sed -e '/nebula-metad/d;/nebula-graphd/d;/nebula-storaged/d'); do
if ! (strip ${build_dir}/bin/${bin}); then
echo ">>> strip ${bin} faild: $?. <<<"
exit 1
Expand Down

0 comments on commit e61d64c

Please sign in to comment.