mirror of
https://gitlab.com/prpl-foundation/prplmesh/prplMesh.git
synced 2025-12-20 01:21:22 +08:00
shellcheck scan of docker-runner.sh revealed few issues: Line 3: SC2164 - no check if cd successful Line 4: SC2086 - missing quotes around scriptdir variable To resolve: Line 3: add exit if cd fails Line 4: add quotes around whole run.sh call Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
5 lines
94 B
Bash
Executable File
5 lines
94 B
Bash
Executable File
#!/bin/sh
|
|
|
|
scriptdir="$(cd "${0%/*}" || exit 1; pwd)"
|
|
"${scriptdir}/tools/docker/run.sh" "$@"
|