Skip to content

Commit a90d50e

Browse files
committed
lcov: Remove use of install -D option
Some versions of the install tool don't support the -D option, causing a 'make install' call to fail. Fix this by replacing the -D option with two calls to install, first to create all target directory components, then to install the actual files. Signed-off-by: Peter Oberparleiter <[email protected]> Reported-by: <[email protected]>
1 parent 6ec3f23 commit a90d50e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ do_install()
3434
local TARGET=$2
3535
local PARAMS=$3
3636

37-
install -p -D $PARAMS $SOURCE $TARGET
37+
install -d $(dirname $TARGET)
38+
install -p $PARAMS $SOURCE $TARGET
3839
}
3940

4041

0 commit comments

Comments
 (0)