mirror of
https://github.com/git/git.git
synced 2024-10-28 12:59:41 +01:00
Merge branch 'maint'
* maint: t1304: fall back to $USER if $LOGNAME is not defined
This commit is contained in:
commit
cf8ddeead9
1 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,11 @@ else
|
|||
test_set_prereq SETFACL
|
||||
fi
|
||||
|
||||
if test -z "$LOGNAME"
|
||||
then
|
||||
LOGNAME=$USER
|
||||
fi
|
||||
|
||||
check_perms_and_acl () {
|
||||
test -r "$1" &&
|
||||
getfacl "$1" > actual &&
|
||||
|
|
Loading…
Reference in a new issue