File: source.clean

package info (click to toggle)
apache 1.3.33-6sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,856 kB
  • ctags: 86
  • sloc: sh: 1,229; makefile: 682; perl: 215
file content (11 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (25)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
source debian/scripts/vars
if [ x$SOURCE_DIR = x ];then
	files=`find -type f -maxdepth 1 -mindepth 1`
	dirs=`find -type d -maxdepth 1 -mindepth 1 ! -name 'debian' ! -name 'upstream'`
        echo files=\"$files\"
        echo dirs=\"$dirs\"
else
	rm -rf $SOURCE_DIR $STAMP_DIR/upstream $STAMP_DIR/patches
	rm -f $STAMP_DIR/{source.{clean,build,make}}
fi