Current Path : /usr/src/release/scripts/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/release/scripts/chkINDEX |
#! /bin/sh # # $FreeBSD: release/9.1.0/release/scripts/chkINDEX 107681 2002-12-08 18:31:03Z murray $ usage() { echo "$*" >&2 echo "This script must be run from the top level package directory" >&2 exit 1 } [ $# -ge 1 ] && usage "usage: chkINDEX" [ -f INDEX ] || usage "INDEX file not found" echo Checking for missing files sed 's,^\([^|]*\)|.*,All/\1.tbz,' INDEX | xargs ls -l >/dev/null echo Checking for missing dependents awk -F'|' '{print $9}' INDEX | sed 's/ /\ /g' | sort -u | sed -e /^$/d -e 's/\(.*\)/All\/\1.tbz/' | xargs ls -l >/dev/null