fix: use readme syntax for init script

This commit is contained in:
Daylin Morgan 2023-01-22 12:08:02 -06:00
parent c137951ee0
commit 6f57d43ddc

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
TASKMK_VERSION=v23.1.1 LATEST_TASKMK_VERSION=v23.1.1
VERSION=${1:-$TASKMK_VERSION} VERSION=${TASKMK_VERSION:-$LATEST_TASKMK_VERSION}
printf "Initializing Task.mk (%s) for repo\n" "$VERSION" printf "Initializing Task.mk (%s) for repo\n" "$VERSION"
if [ -f "./.task.mk" ]; then if [ -f "./.task.mk" ]; then
echo "Found local .task.mk." echo "Found local .task.mk."