Debian Codegraph @

regression/bin/dump_reg

raw ◀ ▶
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 [ "$ADTTMP" ]; then
11 . "/usr/lib/guilt/os.$UNAME_S"
12 elif [ -r "$REG_DIR/../os.$UNAME_S" ]; then
13 . "$REG_DIR/../os.$UNAME_S"
14 else
15 die "Unsupported operating system: $UNAME_S"
16 fi
17
18 if [ -d "$1" ]; then
19 echo "d $1"
20 elif [ -f "$1" ]; then
21 echo "f `sha1 "$1"`"
22 else
23 echo "? $1"
24 fi