Skip to content

Commit d0a06ec

Browse files
authored
Replace fish's deprecated . command with source command (swiftlang#1061)
fish's . command is deprecated and it's just an alias of source command. https://fishshell.com/docs/current/cmds/source.html#description
1 parent 7081793 commit d0a06ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_data/new-data/install/linux/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ latest-release:
1616
curl -O https://download.swift.org/swiftly/linux/swiftly-(uname -m).tar.gz && \
1717
tar zxf swiftly-(uname -m).tar.gz && \
1818
./swiftly init --quiet-shell-followup && \
19-
set -q SWIFTLY_HOME_DIR && . "$SWIFTLY_HOME_DIR/env.fish" || . ~/.local/share/swiftly/env.fish
19+
set -q SWIFTLY_HOME_DIR && source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.local/share/swiftly/env.fish
2020
links:
2121
- href: 'https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt'
2222
copy: 'License: Apache-2.0'

_data/new-data/install/macos/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ latest-release:
1616
curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
1717
installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
1818
~/.swiftly/bin/swiftly init --quiet-shell-followup && \
19-
set -q SWIFTLY_HOME_DIR && . "$SWIFTLY_HOME_DIR/env.fish" || . ~/.swiftly/env.fish
19+
set -q SWIFTLY_HOME_DIR && source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.swiftly/env.fish
2020
links:
2121
- href: 'https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt'
2222
copy: 'License: Apache-2.0'

0 commit comments

Comments
 (0)