Skip to content

Commit a019655

Browse files
committed
Merge pull request #39 from andyque/v4
fix build warnings
2 parents 8e1850c + 9f44ddc commit a019655

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build/build.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,21 +431,21 @@ do
431431
fi
432432

433433

434-
if [ -d $src_directory ];then
434+
if [ -d "$src_directory" ];then
435435
cp -r $src_directory/* $destination_header_path
436436
else
437437
cp $src_directory $destination_header_path
438438
fi
439439

440440

441-
echo "cleaning up"
441+
# echo "cleaning up"
442442
if [ $cfg_is_cleanup_after_build = "yes" ];then
443443
rm -rf $top_dir/contrib/$install_library_path
444444
rm -rf $top_dir/contrib/$build_library_path-$arch
445445
fi
446446
done
447447

448-
echo $cfg_build_fat_library
448+
# echo $cfg_build_fat_library
449449
if [ $cfg_build_fat_library = "yes" ];then
450450

451451
create_fat_library $archive_name
@@ -473,3 +473,5 @@ if [ $cfg_platform_name = "ios" ] || [ $cfg_platform_name = "mac" ];then
473473
rm -rf $cfg_platform_name/$arch
474474
done
475475
fi
476+
477+
echo "done!"

0 commit comments

Comments
 (0)