fix: cp on macos is ancient
This commit is contained in:
1 parent
83d2235824
commit
de1944ec73
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ tasks:
|
||||
init:
|
||||
desc: Initialize configuration files
|
||||
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 "Proceed with updating the configuration files..."
|
||||
- echo "{{.BOOTSTRAP_CONFIG_FILE}}"
|
||||
|
||||
Reference in new issue
Block a user