File: check-crefs

package info (click to toggle)
mit-scheme 12.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208,300 kB
  • sloc: lisp: 781,881; xml: 425,435; ansic: 86,059; sh: 10,135; makefile: 2,501; asm: 2,121; csh: 1,143
file content (17 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# Usage: check-crefs [BUILD-DIR]
# If no BUILD-DIR, uses dir named "build" in root.

set -e

if (( ${#} > 0 )); then
    cd "${1}"
else
    cd "$(dirname "${0}")"/../build
fi
for f in $(find * -type f -name \*-unx.crf); do
    echo '>>>>' "${f}"
    cat "${f}"
    echo
done