summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-07 05:57:15 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-03-09 12:47:08 +0000
commita6c4094cf02fb0458cf8af204cd4abceae20c980 (patch)
tree461c4b4ee9df8709e57ba6e9d3aa8067d29d9298
parent8545c048c6f0fa3220f913b7b76998facb39298c (diff)
downloadvyos-live-build-a6c4094cf02fb0458cf8af204cd4abceae20c980.tar.gz
vyos-live-build-a6c4094cf02fb0458cf8af204cd4abceae20c980.zip
echo: don't mangle backslashes for file printing
-rwxr-xr-xfunctions/echo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/echo.sh b/functions/echo.sh
index 438cfe5d6..0f04f239e 100755
--- a/functions/echo.sh
+++ b/functions/echo.sh
@@ -80,7 +80,7 @@ Echo_warning ()
Echo_file ()
{
- while read LINE
+ while read -r LINE
do
echo "${1}: ${LINE}" >&1
done < "${1}"