Skip to content

Commit

Permalink
Fix calls on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 23, 2024
1 parent d2eb9f1 commit 799797f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/scripts/cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,17 @@ init() {
export tick=""
export cross=""
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)
# shellcheck disable=SC1090
. "$script_dir/$(echo "$os" | tr '[:upper:]' '[:lower:]').sh"
self_hosted_helper
if [[ "$os" = "Linux" || "$os" = "Darwin" ]]; then
# shellcheck disable=SC1090
. "$script_dir/$(echo "$os" | tr '[:upper:]' '[:lower:]').sh"
self_hosted_helper
fi
}

run=$1
extensions=$2
version=$3
key=$4
os=$(uname -s)
os="$(uname -s)"
init
$run

0 comments on commit 799797f

Please sign in to comment.