All pastes #792416 Raw Edit

Zeug

public shellscript v1 · immutable
·published 2007-11-21 11:28 UTC
rendered paste body
#!/bin/bash# Script to search all invalid licenses in base/textures# Written by ZenerkaLANG=C;for i in `find base/textures -name '*.jpg' -print`; 	do svn proplist -R -v $i| awk '{		if ($1~/Properties/) 			printf $NF" "; 		if ($1~/svn:license/ && ($0~/GNU/ || $0~/GPL/)) {			print "license OK!"		} else {			if ($1~/svn:license/) {				print "license probably wrong: "$3			} else {				if ($1!~/svn:mime-type/ && $1~/svn:author/) 					print "NO LICENSE!"			}		}	}';done