diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-20 21:32:39 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-20 21:32:39 (GMT) |
commit | 0c4633c37fcfab7c1632330c070884c3295db1d2 (patch) | |
tree | 5fdc1c68e709845d81b7f29df9c63f86d4f0397b /scripts/build/debug/200-duma.sh | |
parent | 62c87c5adf144f0600cdaeedfc159376cf819c79 (diff) |
Get rid of all `command` (which is a bashism), and replace them with $(command), which is POSIX.
Get rid of all remaining \"text\" in log messages and replace them with 'text'.
Optimise the progress bar, should go un-noticed at log level DEBUG and below.
/trunk/scripts/build/tools/200-sstrip.sh | 16 8 8 0 ++--
/trunk/scripts/build/libc_glibc.sh | 50 25 25 0 +++++++-------
/trunk/scripts/build/libc_uClibc.sh | 4 2 2 0
/trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0
/trunk/scripts/build/debug/300-gdb.sh | 8 4 4 0 +-
/trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +-
/trunk/scripts/build/kernel_linux.sh | 30 15 15 0 ++++----
/trunk/scripts/build/cc_gcc.sh | 14 7 7 0 ++--
/trunk/scripts/crosstool.sh | 54 27 27 0 ++++++++--------
/trunk/scripts/functions | 128 64 64 0 ++++++++++++++++++------------------
/trunk/scripts/saveSample.sh | 4 2 2 0
/trunk/scripts/tarball.sh.broken | 20 10 10 0 +++---
/trunk/tools/addToolVersion.sh | 8 4 4 0 +-
/trunk/tools/populate.in | 18 9 9 0 ++--
15 files changed, 182 insertions(+), 182 deletions(-)
Diffstat (limited to 'scripts/build/debug/200-duma.sh')
-rw-r--r-- | scripts/build/debug/200-duma.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/debug/200-duma.sh b/scripts/build/debug/200-duma.sh index fa3708b..b9c1ac6 100644 --- a/scripts/build/debug/200-duma.sh +++ b/scripts/build/debug/200-duma.sh @@ -13,7 +13,7 @@ do_debug_duma_get() { # but with an underscore. Create a link so that crosstool-NG can # work correctly: cd "${CT_TARBALLS_DIR}" - duma_ext=`CT_GetFileExtension "duma_${CT_DUMA_VERSION}"` + duma_ext=$(CT_GetFileExtension "duma_${CT_DUMA_VERSION}") rm -f "duma-${CT_DUMA_VERSION}${duma_ext}" ln -sf "duma_${CT_DUMA_VERSION}${duma_ext}" "duma-${CT_DUMA_VERSION}${duma_ext}" } @@ -38,14 +38,14 @@ do_debug_duma_build() { [ "${CT_DUMA_A}" = "y" ] && libs="${libs} libduma.a" [ "${CT_DUMA_SO}" = "y" ] && libs="${libs} libduma.so.0.0" for lib in ${libs}; do - CT_DoLog EXTRA "Building library \"${lib}\"" + CT_DoLog EXTRA "Building library '${lib}'" make HOSTCC="${CT_CC_NATIVE}" \ HOSTCXX="${CT_CC_NATIVE}" \ CC="${CT_TARGET}-${CT_CC}" \ CXX="${CT_TARGET}-${CT_CC}" \ DUMA_CPP="${DUMA_CPP}" \ ${libs} 2>&1 |CT_DoLog ALL - CT_DoLog EXTRA "Installing library \"${lib}\"" + CT_DoLog EXTRA "Installing library '${lib}'" install -m 644 "${lib}" "${CT_SYSROOT_DIR}/usr/lib" 2>&1 |CT_DoLog ALL done if [ "${CT_DUMA_SO}" = "y" ]; then |