summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrecipes/images/files/colibri-vf/update.sh2
-rwxr-xr-xrecipes/images/files/library/imx6/update.sh2
-rwxr-xr-xrecipes/images/files/library/tegra/update.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/recipes/images/files/colibri-vf/update.sh b/recipes/images/files/colibri-vf/update.sh
index 1205017..5ac77fb 100755
--- a/recipes/images/files/colibri-vf/update.sh
+++ b/recipes/images/files/colibri-vf/update.sh
@@ -105,7 +105,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/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