#!/bin/sh
-set -e
-
#
# install - install a program, script, or datafile
-# This comes from X11R5; it is not part of GNU.
+# This comes from X11R5.
#
# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
#
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
+# Skip lots of stat calls in the usual case.
+if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
pathcomp="${pathcomp}/"
done
+fi
if [ x"$dir_arg" != x ]
then