File: source.clean

package info (click to toggle)
glide2-vg 2.46-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,352 kB
  • ctags: 15
  • sloc: sh: 170; makefile: 135
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