Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
 
3
rfork e
4
if(! ~ $#* 1){
5
	echo usage: patch/okay dir >[1=2]
6
	exit usage
7
}
8
 
9
i=$1
10
if(! test -s $i/files || ! test -s $i/readme)
11
	exit 'missing files'
12
if(grep -v '^/[_a-zA-Z0-9.\-+/:]+ [_a-zA-Z0-9.\-+:]+$' $i/files)
13
	exit 'bad file list' 
14
exit 0