Mercurial > hg > dmlib
view tools/findchargen.sh @ 2549:a09e7202f763
Remove useless extra directory separator.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 05 Jan 2022 07:29:59 +0200 |
parents | 71f04d8e791e |
children |
line wrap: on
line source
#!/bin/sh ### ### Simple script to find C64 chargen ROM image file ### IFOUND="" for IROOT in /usr /usr/local /opt; do for IBASE in lib lib64 share; do IPATH="${IROOT}/${IBASE}/vice/C64/chargen" if test -e "$IPATH"; then IFOUND="$IPATH" fi done done # Echo the define if found if test -n "$IFOUND"; then echo "-DDM_DEF_CHARGEN=\\\"${IFOUND}\\\"" fi