From de1944ec7329526d428f0b0c4bb2ab150a4420ce Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Sun, 20 Oct 2024 10:21:35 -0400 Subject: [PATCH] fix: cp on macos is ancient --- Taskfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index fce6cc85..4f3736c1 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -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}}"