Fix cp command on OSX (#843)
The `--no-clobber` option is non-POSIX, but GNU-specific. `-n` should do the same in Linux and OSX.
This commit is contained in:
1 parent
4fbcba348f
commit
eb9c00bc8a
1 file changed
+2
-2
+2
-2
@@ -23,8 +23,8 @@ tasks:
|
|||||||
desc: Initialize configuration files
|
desc: Initialize configuration files
|
||||||
dir: "{{.TEMPLATE_DIR}}"
|
dir: "{{.TEMPLATE_DIR}}"
|
||||||
cmds:
|
cmds:
|
||||||
- cp --no-clobber vars/addons.sample.yaml vars/addons.yaml
|
- cp -n vars/addons.sample.yaml vars/addons.yaml
|
||||||
- cp --no-clobber vars/config.sample.yaml vars/config.yaml
|
- cp -n vars/config.sample.yaml vars/config.yaml
|
||||||
- cmd: echo "=== Configuration files copied ==="
|
- cmd: echo "=== Configuration files copied ==="
|
||||||
silent: true
|
silent: true
|
||||||
- cmd: echo "Proceed with updating the configuration files..."
|
- cmd: echo "Proceed with updating the configuration files..."
|
||||||
|
|||||||
Reference in new issue
Block a user