From 9ee6d34ecf409e2ecd2b27fb4c194963d6ff5cf1 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sun, 22 Jan 2023 14:41:13 -0600 Subject: [PATCH] fix: add newline to print statements in init --- docs/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/init b/docs/init index 3741921..bd724d9 100644 --- a/docs/init +++ b/docs/init @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -e -LATEST_TASKMK_VERSION=v23.1.1 +LATEST_TASKMK_VERSION="v23.1.1" VERSION=${TASKMK_VERSION:-$LATEST_TASKMK_VERSION} printf "Initializing Task.mk (%s) for repo\n" "$VERSION" if [ -f "./.task.mk" ]; then @@ -11,7 +11,7 @@ if [ -f "./.task.mk" ]; then fi curl -fsSL "https://raw.githubusercontent.com/daylinmorgan/task.mk/$VERSION/task.mk" -o .task.mk echo .task.mk >>.gitignore -echo '-include .task.cfg.mk .task.mk' >>Makefile +printf '\n-include .task.cfg.mk .task.mk\n' >>Makefile printf '$(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/%s/task.mk -o .task.mk))' \ "$VERSION" \ >>Makefile