fsx: Add fallocate collapse range operation
[xfstests-dev.git] / install-sh
index 4bbc0d3d1915c0cb6aca3a8ab58951904c1f85f0..58e7b586e41c6520c331703f42f3f16f41749e83 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 #
 # Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
 #
@@ -97,6 +97,8 @@ REAL_UID=$OWNER
 INSTALL=true
 MANIFEST=:
 
+: ${DIST_ROOT:=${DESTDIR}}
+
 [ -n "$DIST_MANIFEST" -a -z "$DIST_ROOT" ] && INSTALL=false
 [ -n "$DIST_MANIFEST" ] && MANIFEST="_manifest"