diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2012-01-01 22:54:37 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2012-01-01 22:54:37 +0100 |
commit | fd09c5ab15df5b267f3343a02cff320f060f1b1e (patch) | |
tree | 19c0761815676a4c29f3340e52612ffb95776998 | |
parent | 5f41858c75361053421a4881ff5414d3498abc17 (diff) | |
download | crosstool-ng-fd09c5ab15df5b267f3343a02cff320f060f1b1e.tar.gz crosstool-ng-fd09c5ab15df5b267f3343a02cff320f060f1b1e.tar.bz2 crosstool-ng-fd09c5ab15df5b267f3343a02cff320f060f1b1e.zip |
cc/gcc: copy file with 'cp -v', it rotates the progress bar
Installing the gcc test-suite can take a bit of time, so the
progress bar is currently not rotating because there is no
output during the copy. For an unsuspecting user, it could
mean the process hung.
With 'cp -v', the progress bar now rotates.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
-rw-r--r-- | scripts/build/test_suite/gcc.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/test_suite/gcc.sh b/scripts/build/test_suite/gcc.sh index c2493c05..178cffd5 100644 --- a/scripts/build/test_suite/gcc.sh +++ b/scripts/build/test_suite/gcc.sh @@ -15,11 +15,11 @@ do_test_suite_gcc_build() { CT_DoStep INFO "Installing GCC test suite" CT_DoExecLog ALL mkdir -p "${CT_TEST_SUITE_DIR}/gcc" - CT_DoExecLog ALL cp -a "${CT_LIB_DIR}/contrib/gcc-test-suite/default.cfg" \ - "${CT_LIB_DIR}/contrib/gcc-test-suite/Makefile" \ - "${CT_LIB_DIR}/contrib/gcc-test-suite/README" \ - "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/testsuite" \ - "${CT_TEST_SUITE_DIR}/gcc" + CT_DoExecLog ALL cp -av "${CT_LIB_DIR}/contrib/gcc-test-suite/default.cfg" \ + "${CT_LIB_DIR}/contrib/gcc-test-suite/Makefile" \ + "${CT_LIB_DIR}/contrib/gcc-test-suite/README" \ + "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/testsuite" \ + "${CT_TEST_SUITE_DIR}/gcc" CT_DoExecLog ALL sed -i -r -e "s/@@DG_TARGET@@/${CT_TARGET}/g;" \ "${CT_TEST_SUITE_DIR}/gcc/Makefile" |