summaryrefslogtreecommitdiff
path: root/include/install-sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/install-sh')
-rwxr-xr-xinclude/install-sh2
1 files changed, 2 insertions, 0 deletions
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"