Zeug
public shellscript v1 · immutable#!/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