Skip to content
Snippets Groups Projects
Commit 8b3d313d authored by Jani Nikula's avatar Jani Nikula
Browse files

dim: silence shellcheck warning about sourced files


Silence shellcheck SC1090: Can't follow non-constant source. Use a
directive to specify location.

Shellcheck is capable of checking the sourced files too, but only if the
source is at a constant location.

Acked-by: default avatarDaniel Vetter <daniel@ffwll.ch>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 5dbd9b96
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,8 @@ set -e
# dim configuration file
DIM_CONFIG=${DIM_CONFIG:-$HOME/.dimrc}
if [ -r $DIM_CONFIG ]; then
. $DIM_CONFIG
# shellcheck source=/dev/null
. $DIM_CONFIG
fi
# prefix for repo directories
......@@ -98,6 +99,7 @@ function read_integration_config
declare -g -a drm_tip_config
if [ -r $DIM_PREFIX/drm-rerere/$integration_config ]; then
# shellcheck source=/dev/null
source $DIM_PREFIX/drm-rerere/$integration_config
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment