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