Skip to content

Commit 1c15071

Browse files
authored
fix: replace cp -af with cp -Rf in zig install task (agntcy#1607)
# Description go-task's built-in coreutils on Windows does not support the `-a` flag ## Type of Change - [x] Bugfix - [ ] New Feature - [ ] Breaking Change - [ ] Refactor - [ ] Documentation - [ ] Other (please describe) ## Checklist - [x] I have read the [contributing guidelines](/agntcy/repo-template/blob/main/CONTRIBUTING.md) - [x] Existing issues have been referenced (where applicable) - [x] I have verified this change is not present in other open pull requests - [x] Functionality is documented - [x] All code style checks pass - [x] New code contribution is covered by automated tests - [x] All new and existing tests pass Signed-off-by: Mauro Sardara <msardara@cisco.com>
1 parent 207621e commit 1c15071

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tasks/tools.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ tasks:
290290
fi
291291
292292
# Install
293-
cp -af zig-{{.DETECTED_ARCH}}-{{.DETECTED_OS}}-{{.ZIG_VERSION}}/* "{{.TOOLS_INSTALL_DIR}}"
293+
cp -Rf zig-{{.DETECTED_ARCH}}-{{.DETECTED_OS}}-{{.ZIG_VERSION}}/* "{{.TOOLS_INSTALL_DIR}}"
294294
rm -rf zig-{{.DETECTED_ARCH}}-{{.DETECTED_OS}}-{{.ZIG_VERSION}}
295295
rm -f "$FILENAME" "$SIGFILE" mirrors.txt
296296
echo "Zig installed to {{.TOOLS_INSTALL_DIR}}"

0 commit comments

Comments
 (0)