summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/install-sh2
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"