helpers/envkernel.sh: fix shellcheck failure (MR 2151)
A recent update to shellcheck made this line start failing: In ./helpers/envkernel.sh line 59: export pmbootstrap_dir=$(realpath "$script_dir/..") ^--------------------------^ SC2046 (warning): Quote this to prevent word splitting.
This commit is contained in:
parent
3e5f27d5e3
commit
8a14d366ef
|
@ -56,7 +56,7 @@ export_pmbootstrap_dir() {
|
|||
|
||||
# Fail with debug information
|
||||
# shellcheck disable=SC2155
|
||||
export pmbootstrap_dir=$(realpath "$script_dir/..")
|
||||
export pmbootstrap_dir="$(realpath "$script_dir/..")"
|
||||
if ! [ -e "$pmbootstrap_dir/pmbootstrap.py" ]; then
|
||||
echo "ERROR: Failed to get the script's location with your shell."
|
||||
echo "Please adjust export_pmbootstrap_dir in envkernel.sh. Debug info:"
|
||||
|
|
Loading…
Reference in New Issue