Merge branch 'maint'
authorJunio C Hamano <gitster@pobox.com>
Fri, 14 Oct 2011 19:51:24 +0000 (12:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Oct 2011 19:51:24 +0000 (12:51 -0700)
* maint:
t1304: fall back to $USER if $LOGNAME is not defined

t/t1304-default-acl.sh
index b5d89a2250e41afe544b0d0f59f638e02d570cdd..2b962cfda70d998e9c2799cf8fc720b330cd118a 100755 (executable)
@@ -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 &&