install.sh.patch revision 3649
3649N/A# All of the changes in this patch are specific to a Solaris build, and thus
3649N/A# not applicable upstream.
3649N/A--- sendmail-8.14.7/devtools/bin/install.sh 2001-03-16 15:37:31.000000000 -0800
3649N/A+++ sendmail-8.14.7/devtools/bin/install.sh 2013-06-19 12:14:10.497500058 -0700
3649N/A@@ -45,7 +45,7 @@
3649N/A shift; shift
3649N/A ;;
3649N/A
3649N/A- -c) program=cp
3649N/A+ -c) program="cp -f"
3649N/A shift
3649N/A ;;
3649N/A
3649N/A@@ -62,6 +62,10 @@
3649N/A esac
3649N/A done
3649N/A
3649N/A+# IPS makes owner and group moot for Solaris internal builds.
3649N/A+owner=""
3649N/A+group=""
3649N/A+
3649N/A # Check source file
3649N/A if [ -z "$1" ]
3649N/A then
3649N/A@@ -88,6 +92,13 @@
3649N/A dst=$2
3649N/A fi
3649N/A
3649N/A+# Make sure destination dir exists
3649N/A+dstdir=`dirname $dst`
3649N/A+if [ ! -d $dstdir ]
3649N/A+then
3649N/A+ mkdir -p $dstdir
3649N/A+fi
3649N/A+
3649N/A # Do install operation
3649N/A $program $src $dst
3649N/A if [ $? != 0 ]