fix(install): don't use option '-e' for builtin echo
All checks were successful
Cadoles/mktools/pipeline/head This commit looks good
Cadoles/mktools/pipeline/pr-master This commit looks good

echo is often a builtin and '-e' is not an option for sh.
sh is the default shell for gnu make (variable "SHELL") -> this leads to an
extra "-e" in .gitignore
This commit is contained in:
Laurent Gourvenec 2025-05-28 15:26:38 +02:00
parent db7f0ad9db
commit 0a3d5add48

View File

@ -20,9 +20,9 @@ main() {
if [ ! -f .gitignore ]; then
touch .gitignore
fi
grep -qFx -- "$TASKS_DIR/" .gitignore || echo -e "$TASKS_DIR/" >> .gitignore
grep -qFx -- "$TASKS_DIR/" .gitignore || echo "$TASKS_DIR/" >> .gitignore
echo "Done"
}
main
main