Compare commits
2 Commits
1445f3f197
...
a9599c0b61
Author | SHA1 | Date | |
---|---|---|---|
a9599c0b61 | |||
6028362078 |
@ -20,7 +20,7 @@ main() {
|
|||||||
if [ ! -f .gitignore ]; then
|
if [ ! -f .gitignore ]; then
|
||||||
touch .gitignore
|
touch .gitignore
|
||||||
fi
|
fi
|
||||||
grep -qF -- "$TASKS_DIR/" ".gitignore" || echo "\n$TASKS_DIR/" >> ".gitignore"
|
grep -qFx -- "$TASKS_DIR/" .gitignore || echo -e "$TASKS_DIR/" >> .gitignore
|
||||||
|
|
||||||
echo "Done"
|
echo "Done"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user