Skip to content

Commit cd215f7

Browse files
committed
extract.sh: Set ${USER} when not set or empty in environment
Signed-off-by: Sebastian Pipping <[email protected]>
1 parent dcd18e7 commit cd215f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/lcov/extract/extract.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
set +x
33

4+
: ${USER:="$(id -u -n)"}
5+
46
source ../../common.tst
57

68
rm -rf *.gcda *.gcno a.out *.info* *.txt* *.json dumper* testRC *.gcov *.gcov.* *.log *.o errs *.msg *.dat

0 commit comments

Comments
 (0)