Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
sohka
neutrinet_cube_install
Commits
bd549d87
Commit
bd549d87
authored
Jan 18, 2020
by
HgO
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use array for install-sd.sh arguments, instead of quotes
parent
6e3455a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
neutrinet_cube_install.sh
neutrinet_cube_install.sh
+4
-4
No files found.
neutrinet_cube_install.sh
View file @
bd549d87
...
...
@@ -800,18 +800,18 @@ function flash_sd_card() {
download_install_sd_script
fi
local
install_sd_options
=
"
-y
'
$HYPERCUBE_FILE
'
-f
'
$CUBE_RESOURCES_LOCATION
/
$image
'"
local
install_sd_options
=
(
-y
"
$HYPERCUBE_FILE
"
-f
$CUBE_RESOURCES_LOCATION
/
$image
)
if
$EXECUTE_CUSTOM_SCRIPT
then
install_sd_options
=
"
$install_sd_options
-c
'
$CUSTOM_SCRIPT_PATH
'
"
install_sd_options
+
=(
-c
"
$CUSTOM_SCRIPT_PATH
"
)
fi
if
[[
$LOG_LEVEL
-eq
${
LOG_LEVELS
[DEBUG]
}
]]
then
install_sd_options
=
"
$install_sd_options
-d
"
install_sd_options
+
=(
-d
)
fi
"./
$CUBE_RESOURCES_LOCATION
/
$INSTALL_SD_SCRIPT_NAME
"
$
install_sd_options
"./
$CUBE_RESOURCES_LOCATION
/
$INSTALL_SD_SCRIPT_NAME
"
"
${
install_sd_options
[@]
}
"
}
function
prepare_cube
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment