added jrecruiter for Galdora e.K
[jprojects-scripts.git] / check-untracked.sh
1 #!/bin/bash
2
3 . ./.jprojects.sh
4
5 for project in ${LIST}; do
6         echo "$0: Checking '${project}' ..."
7         cd "${project}"
8         STATUS=`git status`
9         UNTRACKED=`echo "${STATUS}" | grep "Untracked files:"`
10         if [ -n "${UNTRACKED}" ]
11         then
12                 echo "${STATUS}"
13         fi
14         cd -
15 done