From 76b17babe786f245fc5dc7f7de3f9bb49fd08803 Mon Sep 17 00:00:00 2001 From: Kenta Kubo <601636+kkebo@users.noreply.github.com> Date: Fri, 6 Jun 2025 02:18:12 +0900 Subject: [PATCH] Replace fish's deprecated . command with source command fish's . command is deprecated and it's just an alias of source command. https://fishshell.com/docs/current/cmds/source.html#description --- _data/new-data/install/linux/releases.yml | 2 +- _data/new-data/install/macos/releases.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/new-data/install/linux/releases.yml b/_data/new-data/install/linux/releases.yml index 172186ae1..608cdbf2b 100644 --- a/_data/new-data/install/linux/releases.yml +++ b/_data/new-data/install/linux/releases.yml @@ -16,7 +16,7 @@ latest-release: curl -O https://download.swift.org/swiftly/linux/swiftly-(uname -m).tar.gz && \ tar zxf swiftly-(uname -m).tar.gz && \ ./swiftly init --quiet-shell-followup && \ - set -q SWIFTLY_HOME_DIR && . "$SWIFTLY_HOME_DIR/env.fish" || . ~/.local/share/swiftly/env.fish + set -q SWIFTLY_HOME_DIR && source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.local/share/swiftly/env.fish links: - href: 'https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt' copy: 'License: Apache-2.0' diff --git a/_data/new-data/install/macos/releases.yml b/_data/new-data/install/macos/releases.yml index a22fa5ff3..56c54f62e 100644 --- a/_data/new-data/install/macos/releases.yml +++ b/_data/new-data/install/macos/releases.yml @@ -16,7 +16,7 @@ latest-release: curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \ installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \ ~/.swiftly/bin/swiftly init --quiet-shell-followup && \ - set -q SWIFTLY_HOME_DIR && . "$SWIFTLY_HOME_DIR/env.fish" || . ~/.swiftly/env.fish + set -q SWIFTLY_HOME_DIR && source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.swiftly/env.fish links: - href: 'https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt' copy: 'License: Apache-2.0'