File: source.clean

package info (click to toggle)
gkrellm 0.7.5-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 208 kB
  • ctags: 12
  • sloc: sh: 163; makefile: 140
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