From d55f9063250a7374cc368cd13d7b6fe151cbd4e1 Mon Sep 17 00:00:00 2001 From: NoamDev <37066741+NoamDev@users.noreply.github.com> Date: Sun, 12 Jul 2020 14:28:16 +0300 Subject: [PATCH] Supress ls no such file error message When there are no dlls to copy, it seems like there's an error. This change would supress the error message but wouldn't harm functionality. --- run_testsuite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_testsuite.sh b/run_testsuite.sh index 906f106..7050776 100755 --- a/run_testsuite.sh +++ b/run_testsuite.sh @@ -136,7 +136,7 @@ put_dll_in_bindir() { # Portaudio libraries are installed into lib. wine can't find them. # Copy all libs to ${MIMIC_INSTALL_DIR}/bin - for file in `ls "${MIMIC_INSTALL_DIR}/lib/"*.dll`; do + for file in `ls "${MIMIC_INSTALL_DIR}/lib/"*.dll 2>/dev/null`; do cp "$file" "${MIMIC_INSTALL_DIR}/bin/" done }