diff --git a/_data/new-data/install/linux/releases.yml b/_data/new-data/install/linux/releases.yml index 172186ae1..bef1a8b39 100644 --- a/_data/new-data/install/linux/releases.yml +++ b/_data/new-data/install/linux/releases.yml @@ -9,7 +9,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 && \ - . "${SWIFTLY_HOME_DIR:-~/.local/share/swiftly}/env.sh" && \ + . "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh" && \ hash -r - label: Fish code: |- @@ -34,4 +34,4 @@ latest-release: - href: 'https://hub.docker.com/_/swift' copy: 'Docker Hub' - href: 'https://www.swift.org/install/linux/docker' - copy: 'Instructions' \ No newline at end of file + copy: 'Instructions' diff --git a/_data/new-data/install/macos/releases.yml b/_data/new-data/install/macos/releases.yml index a22fa5ff3..d658e8e08 100644 --- a/_data/new-data/install/macos/releases.yml +++ b/_data/new-data/install/macos/releases.yml @@ -9,7 +9,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 && \ - . "${SWIFTLY_HOME_DIR:-~/.swiftly}/env.sh" && \ + . "${SWIFTLY_HOME_DIR:-$HOME/.swiftly}/env.sh" && \ hash -r - label: Fish code: | @@ -29,4 +29,4 @@ latest-release: headline: Xcode links: - href: 'https://developer.apple.com/xcode/' - copy: 'Install Xcode' \ No newline at end of file + copy: 'Install Xcode'