summaryrefslogtreecommitdiff
path: root/contrib/bind9/lib/bind/mkinstalldirs
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2006-11-04 07:53:26 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2006-11-04 07:53:26 +0000
commit92c1b3cf836d94d96a1e8fa3d479d2d841352212 (patch)
treefc6e8395a9fbb462bb1b7301456e8dee1662bfbe /contrib/bind9/lib/bind/mkinstalldirs
parenta02f92e875d0d48c46103eef0fbea835048a278b (diff)
Notes
Diffstat (limited to 'contrib/bind9/lib/bind/mkinstalldirs')
-rwxr-xr-xcontrib/bind9/lib/bind/mkinstalldirs40
1 files changed, 0 insertions, 40 deletions
diff --git a/contrib/bind9/lib/bind/mkinstalldirs b/contrib/bind9/lib/bind/mkinstalldirs
deleted file mode 100755
index 74a611ae8357e..0000000000000
--- a/contrib/bind9/lib/bind/mkinstalldirs
+++ /dev/null
@@ -1,40 +0,0 @@
-#! /bin/sh
-# mkinstalldirs --- make directory hierarchy
-# Author: Noah Friedman <friedman@prep.ai.mit.edu>
-# Created: 1993-05-16
-# Public domain
-
-# $Id: mkinstalldirs,v 1.1 2001/07/06 22:23:42 gson Exp $
-
-errstatus=0
-
-for file
-do
- set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
- shift
-
- pathcomp=
- for d
- do
- pathcomp="$pathcomp$d"
- case "$pathcomp" in
- -* ) pathcomp=./$pathcomp ;;
- esac
-
- if test ! -d "$pathcomp"; then
- echo "mkdir $pathcomp" 1>&2
-
- mkdir "$pathcomp" || lasterr=$?
-
- if test ! -d "$pathcomp"; then
- errstatus=$lasterr
- fi
- fi
-
- pathcomp="$pathcomp/"
- done
-done
-
-exit $errstatus
-
-# mkinstalldirs ends here