Debian Codegraph @

regression/bin/dump_reg

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #!/bin/sh
2
3 if [ $# -ne 1 ]; then
4 echo "ERROR"
5 exit 1
6 fi
7
8 UNAME_S=`uname -s`
9
10 if [ -r "$REG_DIR/../os.$UNAME_S" ]; then
11 . "$REG_DIR/../os.$UNAME_S"
12 else
13 die "Unsupported operating system: $UNAME_S"
14 fi
15
16 if [ -d "$1" ]; then
17 echo "d $1"
18 elif [ -f "$1" ]; then
19 echo "f `sha1 "$1"`"
20 else
21 echo "? $1"
22 fi