From b950a2cda8d937f99fc115ff04535bbac453e66e Mon Sep 17 00:00:00 2001
From: Alejandro Mery <amery@opensde.org>
Date: Tue, 17 Nov 2009 11:55:02 +0100
Subject: [PATCH] acl: changed to install using `install` to work around a
 weakness of our cp wrapper

---
 base/acl/install.patch | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 base/acl/install.patch

diff --git a/base/acl/install.patch b/base/acl/install.patch
new file mode 100644
index 000000000..a2b601ac4
--- /dev/null
+++ b/base/acl/install.patch
@@ -0,0 +1,29 @@
+# --- SDE-COPYRIGHT-NOTE-BEGIN ---
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+#
+# Filename: package/.../acl/install.patch
+# Copyright (C) 2009 The OpenSDE Project
+#
+# More information can be found in the files COPYING and README.
+#
+# This patch file is dual-licensed. It is available under the license the
+# patched project is licensed under, as long as it is an OpenSource license
+# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
+# of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+# --- SDE-COPYRIGHT-NOTE-END ---
+
+our install wrapper deletes the library and crashes, because bash relies on it
+
+--- ./install-sh.orig	2009-11-17 11:01:05.000000000 +0100
++++ ./install-sh	2009-11-17 11:01:29.000000000 +0100
+@@ -92,7 +92,7 @@
+ 
+ if $INSTALL
+ then
+-    CP=cp; LN=ln; MKDIR=mkdir; CHMOD=chmod; CHOWN=_chown
++    CP=install; LN=ln; MKDIR=mkdir; CHMOD=chmod; CHOWN=_chown
+ else
+     CP=true; LN=true; MKDIR=true; CHMOD=true; CHOWN=true
+ fi