summaryrefslogtreecommitdiff
path: root/recipes/images/files/library
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images/files/library')
-rwxr-xr-xrecipes/images/files/library/imx6/update.sh2
-rwxr-xr-xrecipes/images/files/library/tegra/update.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/images/files/library/imx6/update.sh b/recipes/images/files/library/imx6/update.sh
index 509dbbe..4f4b11e 100755
--- a/recipes/images/files/library/imx6/update.sh
+++ b/recipes/images/files/library/imx6/update.sh
@@ -96,7 +96,7 @@ if [ "$OUT_DIR" = "" ] && [ "$UBOOT_RECOVERY" = "0" ] ; then
fi
# is OUT_DIR an existing directory?
-if [ ! -d "$OUT_DIR" ] ; then
+if [ ! -d "$OUT_DIR" ] && [ "$UBOOT_RECOVERY" = "0" ] ; then
echo "$OUT_DIR" "does not exist, exiting"
exit 1
fi
diff --git a/recipes/images/files/library/tegra/update.sh b/recipes/images/files/library/tegra/update.sh
index 92ddb27..482fd00 100755
--- a/recipes/images/files/library/tegra/update.sh
+++ b/recipes/images/files/library/tegra/update.sh
@@ -129,7 +129,7 @@ if [ "$OUT_DIR" = "" ] && [ "$UBOOT_RECOVERY" = "0" ] ; then
fi
# is OUT_DIR an existing directory?
-if [ ! -d "$OUT_DIR" ] ; then
+if [ ! -d "$OUT_DIR" ] && [ "$UBOOT_RECOVERY" = "0" ] ; then
echo "$OUT_DIR" "does not exist, exiting"
exit 1
fi