From 868fb1b9bf0d84bcccaf0218901dcf64874e5611 Mon Sep 17 00:00:00 2001 From: Meng-Heng Date: Fri, 13 Sep 2024 12:45:27 +0700 Subject: [PATCH] test: fixing the errors shows on run --- bootstrap.inc.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bootstrap.inc.sh b/bootstrap.inc.sh index 99b551f..6c6bfae 100644 --- a/bootstrap.inc.sh +++ b/bootstrap.inc.sh @@ -51,7 +51,7 @@ function _bootstrap_download() { local remote_file="$1" local local_file="$2" - if [[ -d "$remote_file"]]; then + if [[ -d "$remote_file"]] then _bootstrap_echo "Downloading directory: $remote_file" for file in $(find "$remote_file" -type f); do @@ -132,8 +132,6 @@ function _bootstrap_configure_common() { _bootstrap_download "_common/$common_file" "$BOOTSTRAP_COMMON/$common_file" done - # _bootstrap_download_directory "_common/assets/sil-logos-2024" "$BOOTSTRAP_COMMON/assets/sil-logos-2024" - _bootstrap_echo "All _common files downloaded" }