diff options
-rwxr-xr-x | mrconfig-updater | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mrconfig-updater b/mrconfig-updater index 0781709..1403276 100755 --- a/mrconfig-updater +++ b/mrconfig-updater @@ -28,7 +28,8 @@ for folder in $FOLDERS; do continue fi - find $folder -maxdepth $DEPTH -name '.git' | while read repo; do + # A trailing slash helps to find following symbolic links + find $folder/ -maxdepth $DEPTH -name '.git' | while read repo; do echo "[`dirname $repo`]" >> $MRCONFIG done done |