usage message

This commit is contained in:
christos 2008-06-22 13:55:05 +00:00
parent 44eb18fda8
commit e5a95dcfd5

View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# $NetBSD: postfix2netbsd,v 1.11 2008/04/30 13:10:50 martin Exp $
# $NetBSD: postfix2netbsd,v 1.12 2008/06/22 13:55:05 christos Exp $
#
# Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
# All rights reserved.
@ -35,6 +35,13 @@
#
# Seed from Wiz's grep2netbsd.
PROG="$(basename "$0")"
if [ -z "$1" -o -n "$2" ]
then
echo "Usage: $PROG <dir>" 1>&2
exit 1
fi
cd "$1"
# delete some superfluous files
echo deleting some superfluous files
find . \( -type f -o -type l \) -a \