diff --git a/setup b/setup index 5f527a2..8a6c23f 100755 --- a/setup +++ b/setup @@ -29,6 +29,13 @@ if [ ! -f igniter/.gitignore ]; then touch igniter/.gitignore fi +for executable in start stop setup exec spark-exec switch-branch-migrate; do + if ! grep -q $executable igniter/.gitignore; then + echo "# Codeigniter Setup Script" >> igniter/.gitignore + break + fi +done + for executable in start stop setup exec spark-exec switch-branch-migrate; do if ! grep -q $executable igniter/.gitignore; then echo "${executable}" >> igniter/.gitignore