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