Ver código fonte

printf rather than echo

Bob Mottram 7 anos atrás
pai
commit
d57d8cf8a7

+ 1
- 1
src/freedombone-image-hardware-setup Ver arquivo

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

+ 2
- 1
src/freedombone-utils-meteor Ver arquivo

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