fix: cp on macos is ancient

This commit is contained in:
Devin Buhl authored and GitHub committed 2024-10-20 10:21:35 -04:00
1 parent 83d2235824
commit de1944ec73
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ tasks:
init: init:
desc: Initialize configuration files desc: Initialize configuration files
cmds: cmds:
- cp --update=none {{.BOOTSTRAP_CONFIG_FILE | replace ".yaml" ".sample.yaml"}} {{.BOOTSTRAP_CONFIG_FILE}} - cp {{if eq OS "darwin"}}-n{{else}}--update=none{{end}} {{.BOOTSTRAP_CONFIG_FILE | replace ".yaml" ".sample.yaml"}} {{.BOOTSTRAP_CONFIG_FILE}}
- echo "=== Configuration file copied ===" - echo "=== Configuration file copied ==="
- echo "Proceed with updating the configuration files..." - echo "Proceed with updating the configuration files..."
- echo "{{.BOOTSTRAP_CONFIG_FILE}}" - echo "{{.BOOTSTRAP_CONFIG_FILE}}"