Skip to content
Permalink
Browse files

move DL_DIR into dkr function

This handles case if user changes local.conf - they don't need to
re-run envsetup.sh
  • Loading branch information...
cbrake authored and kraj committed Aug 27, 2019
1 parent 2f448a1 commit d8d54e4d52522ab5afb246e950602dc4f04a4d47
Showing with 3 additions and 3 deletions.
  1. +3 −3 envsetup.sh
@@ -423,9 +423,6 @@ read_var_from_conf() {
return 1
}

# parse OE conf files for DL_DIR customizations (may be located outside OE)
DL_DIR=$(read_var_from_conf 'DL_DIR')

check_docker() {
if ! docker -v >/dev/null 2>&1; then
echo "Error, please install docker or set DOCKER_REPO=none in environment"
@@ -453,6 +450,9 @@ dkr() {

SSH_AUTH_DIR=~/

# parse OE conf files for DL_DIR customizations (may be located outside OE)
DL_DIR=$(read_var_from_conf 'DL_DIR')

unset MAP_DL_DIR
if [ -n "$DL_DIR" ]; then
MAP_DL_DIR="-v $DL_DIR:$DL_DIR"

0 comments on commit d8d54e4

Please sign in to comment.
You can’t perform that action at this time.