diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-04 12:55:24 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-04 12:55:24 +0300 |
commit | 5e27a630072aac95ba66478f270a3de5901b38f7 (patch) | |
tree | 4e71cbf08f54a1c43d8294b37111eb1ee7688c57 /action.yml | |
parent | set %CYGWIN% before installing Cygwin (diff) | |
download | setup-cygwin-5e27a630072aac95ba66478f270a3de5901b38f7.tar.gz setup-cygwin-5e27a630072aac95ba66478f270a3de5901b38f7.zip |
rename symlinks-to-hardlinks to just hardlinks
Diffstat (limited to '')
-rw-r--r-- | action.yml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,7 +16,7 @@ inputs: env: description: Value to set as the CYGWIN environment variable required: false - symlinks-to-hardlinks: + hardlinks: description: Convert symlinks in /usr/bin to hardlinks required: false default: 0 @@ -77,9 +77,9 @@ runs: - run: | New-Variable install_dir -Value '${{ inputs.install-dir }}' -Option Constant - New-Variable symlinks_to_hardlinks -Value ('${{ inputs.symlinks-to-hardlinks }}' -eq '1') -Option Constant + New-Variable hardlinks -Value ('${{ inputs.hardlinks }}' -eq '1') -Option Constant - if ($symlinks_to_hardlinks) { + if ($hardlinks) { New-Variable bash -Value (Join-Path $install_dir bin bash.exe) -Option Constant echo @' while IFS= read -d '' -r link_path; do |