mirror of
https://gitlab.com/prpl-foundation/prplmesh/prplMesh.git
synced 2025-12-20 01:21:22 +08:00
During shellcheck scan of docker-builder.sh script, few issues raised: Line 3: SC2164 - no check if cd fails Line 4: SC2086 - missing quotes around "scriptdir" variable In oder to fix: Line 3: exit if cd fails Line 4: Add quotes around source command Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
5 lines
96 B
Bash
Executable File
5 lines
96 B
Bash
Executable File
#!/bin/sh
|
|
|
|
scriptdir="$(cd "${0%/*}" || exit 1; pwd)"
|
|
"${scriptdir}/tools/docker/build.sh" "$@"
|