Skip to content

Commit 3c34b93

Browse files
authored
Fix quoted home in swiftly install snippets (#1084)
1 parent e52e43f commit 3c34b93

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ latest-release:
99
curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && \
1010
tar zxf swiftly-$(uname -m).tar.gz && \
1111
./swiftly init --quiet-shell-followup && \
12-
. "${SWIFTLY_HOME_DIR:-~/.local/share/swiftly}/env.sh" && \
12+
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh" && \
1313
hash -r
1414
- label: Fish
1515
code: |-
@@ -34,4 +34,4 @@ latest-release:
3434
- href: 'https://hub.docker.com/_/swift'
3535
copy: 'Docker Hub'
3636
- href: 'https://www.swift.org/install/linux/docker'
37-
copy: 'Instructions'
37+
copy: 'Instructions'

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ latest-release:
99
curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
1010
installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
1111
~/.swiftly/bin/swiftly init --quiet-shell-followup && \
12-
. "${SWIFTLY_HOME_DIR:-~/.swiftly}/env.sh" && \
12+
. "${SWIFTLY_HOME_DIR:-$HOME/.swiftly}/env.sh" && \
1313
hash -r
1414
- label: Fish
1515
code: |
@@ -29,4 +29,4 @@ latest-release:
2929
headline: Xcode
3030
links:
3131
- href: 'https://developer.apple.com/xcode/'
32-
copy: 'Install Xcode'
32+
copy: 'Install Xcode'

0 commit comments

Comments
 (0)