home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 18.ddi / reloc.2 / $INTFBIN / dirchk < prev    next >
Encoding:
Text File  |  1990-12-08  |  533 b   |  23 lines

  1. #!/sbin/sh
  2. #    Copyright (c) 1990 UNIX System Laboratories, Inc.
  3. #    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T
  4. #      All Rights Reserved
  5.  
  6. #    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF
  7. #    UNIX System Laboratories, Inc.
  8. #    The copyright notice above does not evidence any
  9. #    actual or intended publication of such source code.
  10.  
  11.  
  12.  
  13. #ident    "@(#)/usr/sadm/sysadm/bin/dirchk.sl 1.1 4.0 12/08/90 3799 AT&T-USL"
  14.  
  15. file=${1}
  16. if test -d ${file}
  17. then
  18.     exit 0
  19. else
  20.     echo "   $file is not the full path name of a valid directory."
  21.     exit 1
  22. fi
  23.