printf rather than echo

This commit is contained in:
Bob Mottram 2018-03-03 13:15:52 +00:00
parent 057fcfaa6f
commit d57d8cf8a7
2 changed files with 3 additions and 2 deletions

View File

@ -218,7 +218,7 @@ setup_flash_kernel() {
if [ ! -d /etc/flash-kernel ] ; then
mkdir /etc/flash-kernel
fi
echo "$1" > /etc/flash-kernel/machine
printf "%s" "$1" > /etc/flash-kernel/machine
command_line=""
if [ -n "$2" ] ; then

View File

@ -112,7 +112,8 @@ function install_meteor_script {
exit 693252
fi
mv "${INSTALL_TMPDIR}/.meteor" "$meteor_dir"
# shellcheck disable=SC2086
mv ${INSTALL_TMPDIR}/.meteor $meteor_dir
meteor_cleanUp