diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-10-27 02:24:39 -0400 |
---|---|---|
committer | Brandon Philips <brandon@ifup.co> | 2013-05-18 22:10:52 -0700 |
commit | d8fbd0de6f9061f6e913d9f9a708c061bf738092 (patch) | |
tree | e5d9ae3908bf08a77d79a98e9ffef89947a0cd67 | |
parent | 256df90ef929ae5db9ec59f2aec9fd12a4b3758a (diff) | |
download | acl-d8fbd0de6f9061f6e913d9f9a708c061bf738092.tar.gz |
acl: respect DESTDIR when installing
This makes the `make install DESTDIR=...` form work. It keeps support
for all previous forms too (like DIST_ROOT).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | include/install-sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/install-sh b/include/install-sh index 86093a0..3c9d49b 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" |