summaryrefslogtreecommitdiffstats
path: root/scripts/yocto-check-layer-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/yocto-check-layer-wrapper')
-rwxr-xr-xscripts/yocto-check-layer-wrapper4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/yocto-check-layer-wrapper b/scripts/yocto-check-layer-wrapper
index bbf6ee176d..b5df9ce989 100755
--- a/scripts/yocto-check-layer-wrapper
+++ b/scripts/yocto-check-layer-wrapper
@@ -30,7 +30,9 @@ cd $base_dir
30 30
31build_dir=$(mktemp -p $base_dir -d -t build-XXXX) 31build_dir=$(mktemp -p $base_dir -d -t build-XXXX)
32 32
33source oe-init-build-env $build_dir 33this_dir=$(dirname $(readlink -f $0))
34
35source $this_dir/../oe-init-build-env $build_dir
34if [[ $output_log != '' ]]; then 36if [[ $output_log != '' ]]; then
35 yocto-check-layer -o "$output_log" "$*" 37 yocto-check-layer -o "$output_log" "$*"
36else 38else