1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

fix script: hide settings of empty array

This commit is contained in:
bolero-MURAKAMI 2013-09-22 13:33:56 +09:00
parent a5a7ae1d7a
commit 12838cc11a
2 changed files with 22 additions and 6 deletions

View file

@ -60,8 +60,12 @@ echo ": settings"
echo ": stagedir = \"${stagedir}\""
echo ": gcc-version = (${gcc_version})"
echo ": clang-version = (${clang_version})"
echo ": user-macros = (${user_macros[*]})"
echo ": include-paths = (${include_paths[*]})"
if [ ${#user_macros[*]} -gt 0 ]; then
echo ": user-macros = (${user_macros[*]})"
fi
if [ ${#include_paths[*]} -gt 0 ]; then
echo ": include-paths = (${include_paths[*]})"
fi
echo ": force = ${force}"
if [ -d "${stagedir}" ]; then