X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcount-lines;h=a680905b1b9272625be92c85f7464b869d843912;hb=6b6104ee5192239b0b23deedf1c73875699061e1;hp=577cd61e9210fde022034e95200196e1ff4bcfb0;hpb=2c8e0154a2ba6b3fb35e84a11d5e437cc75e0529;p=bacula%2Fbacula diff --git a/bacula/src/count-lines b/bacula/src/count-lines index 577cd61e92..a680905b1b 100755 --- a/bacula/src/count-lines +++ b/bacula/src/count-lines @@ -1,10 +1,9 @@ #!/bin/sh rm -f 1 touch 1 -for i in . console gnome-console gnome2-console cats dird filed filed/win32 \ - win32 win32/compat findlib lib wx-console stored tools \ - win32/wx-console win32/console win32/baculafd tray-monitor; do +find . -type d >2 +for i in `cat 2` ; do ls -1 $i/*.c $i/*.cpp $i/*.h $i/*.in 2>/dev/null >>1 done cat 1 | $HOME/bin/lines -# rm -f 1 +# rm -f 1 2