acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Acl-devel] [PATCH 2/3] attr: respect DESTDIR when installing


From: Mike Frysinger
Subject: [Acl-devel] [PATCH 2/3] attr: respect DESTDIR when installing
Date: Sat, 27 Oct 2012 02:24:39 -0400

This makes the `make install DESTDIR=...` form work.  It keeps support
for all previous forms too (like DIST_ROOT).

Signed-off-by: Mike Frysinger <address@hidden>
---
 include/install-sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/install-sh b/include/install-sh
index 709e59d..fb4997a 100755
--- a/include/install-sh
+++ b/include/install-sh
@@ -99,6 +99,8 @@ REAL_UID=$OWNER
 INSTALL=true
 MANIFEST=:
 
+: ${DIST_ROOT:=${DESTDIR}}
+
 [ -n "$DIST_MANIFEST" -a -z "$DIST_ROOT" ] && INSTALL=false
 [ -n "$DIST_MANIFEST" ] && MANIFEST="_manifest"
 
-- 
1.7.12




reply via email to

[Prev in Thread] Current Thread [Next in Thread]