File: genromlist

package info (click to toggle)
vice 1.19-1etch1
  • links: PTS
  • area: contrib
  • in suites: etch
  • size: 27,132 kB
  • ctags: 33,406
  • sloc: ansic: 257,145; cpp: 13,395; sh: 3,674; makefile: 3,380; perl: 1,801; yacc: 622; lex: 258; asm: 4
file content (12 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# Searches for unredistributable ROM files

ROMLIST=`find data -type f -exec file {} \; | grep ": data" | grep -v PRINTER | grep -v Makefile | cut -f 1 -d ':'`

if [ X"$ROMLIST" = "X" ] ; then
    exit 0 ;
else 
    echo $ROMLIST ;
    exit 1;
fi