diff mbox series

[patchtest,4/7] initscripts: use mkdir before mv with patchtest initscript

Message ID 20230428133233.1155096-5-tgamblin@baylibre.com
State New
Headers show
Series patchtest: update to work with latest Yocto changes | expand

Commit Message

Trevor Gamblin April 28, 2023, 1:32 p.m. UTC
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
 meta-patchtest/recipes-core/initscripts/initscripts/patchtest | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-patchtest/recipes-core/initscripts/initscripts/patchtest b/meta-patchtest/recipes-core/initscripts/initscripts/patchtest
index 3b075af..1dc434f 100755
--- a/meta-patchtest/recipes-core/initscripts/initscripts/patchtest
+++ b/meta-patchtest/recipes-core/initscripts/initscripts/patchtest
@@ -53,6 +53,7 @@  if [ -d $REPO ]; then
 fi
 
 # Move results dir to MP as root
+mkdir -p $RESULTS
 mv $RESULTS $MP/results
 
 # Poweroff machine