From d60bb3fe96668ec0ecccfb89632e9125a453d484 Mon Sep 17 00:00:00 2001 From: kopp Date: Mon, 22 Jul 2024 16:49:43 +0200 Subject: [PATCH 1/2] fix typo in load.sh.tpl --- oci/private/load.sh.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oci/private/load.sh.tpl b/oci/private/load.sh.tpl index 8ba234d1..5cfcb7f8 100644 --- a/oci/private/load.sh.tpl +++ b/oci/private/load.sh.tpl @@ -9,7 +9,7 @@ readonly TAR="$(rlocation "{{tar}}")" readonly MTREE="$(rlocation "{{mtree_path}}")" readonly LOADER="$(rlocation "{{loader}}")" -if [ -e "$LOADER}" ]; then +if [ -e "$LOADER" ]; then CONTAINER_CLI="$LOADER" elif command -v docker &> /dev/null; then CONTAINER_CLI="docker" From 092150fb04118a6d4b2209511a055203dc7edbd0 Mon Sep 17 00:00:00 2001 From: Sahin Yort Date: Thu, 25 Jul 2024 12:35:20 -0700 Subject: [PATCH 2/2] Update load.sh.tpl --- oci/private/load.sh.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oci/private/load.sh.tpl b/oci/private/load.sh.tpl index 5cfcb7f8..ccd4d6ea 100644 --- a/oci/private/load.sh.tpl +++ b/oci/private/load.sh.tpl @@ -9,7 +9,7 @@ readonly TAR="$(rlocation "{{tar}}")" readonly MTREE="$(rlocation "{{mtree_path}}")" readonly LOADER="$(rlocation "{{loader}}")" -if [ -e "$LOADER" ]; then +if [ -f "$LOADER" ]; then CONTAINER_CLI="$LOADER" elif command -v docker &> /dev/null; then CONTAINER_CLI="docker"