File: mkclean

package info (click to toggle)
fidogate 4.4.7-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,784 kB
  • ctags: 2,957
  • sloc: ansic: 24,413; perl: 4,932; makefile: 885; sh: 824; yacc: 662; tcl: 415
file content (15 lines) | stat: -rwxr-xr-x 206 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

DIRS="domain feature hack m4 mailer ostype sh siteconfig"

rm -f README

for d in $DIRS; do
    if [ -d $d ]; then
	for f in $d/*; do
	    if [ -L $f ]; then
		rm -f $f
	    fi
	done
    fi
done