diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-20 21:32:39 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-20 21:32:39 +0000 |
commit | 0c4633c37fcfab7c1632330c070884c3295db1d2 (patch) | |
tree | 5fdc1c68e709845d81b7f29df9c63f86d4f0397b /scripts/saveSample.sh | |
parent | 62c87c5adf144f0600cdaeedfc159376cf819c79 (diff) | |
download | crosstool-ng-0c4633c37fcfab7c1632330c070884c3295db1d2.tar.gz crosstool-ng-0c4633c37fcfab7c1632330c070884c3295db1d2.tar.bz2 crosstool-ng-0c4633c37fcfab7c1632330c070884c3295db1d2.zip |
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/saveSample.sh')
-rwxr-xr-x | scripts/saveSample.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/saveSample.sh b/scripts/saveSample.sh index 3c98f433..d9907310 100755 --- a/scripts/saveSample.sh +++ b/scripts/saveSample.sh @@ -47,8 +47,8 @@ cp "${CT_TOP_DIR}/.config" "${CT_TOP_DIR}/samples/${CT_TARGET}/crosstool.config" CT_DoAddFileToSample() { source="$1" dest="$2" - inode_s=`ls -i "${source}"` - inode_d=`ls -i "${dest}" 2>/dev/null || true` + inode_s=$(ls -i "${source}") + inode_d=$(ls -i "${dest}" 2>/dev/null || true) if [ "${inode_s}" != "${inode_d}" ]; then cp "${source}" "${dest}" fi |