Changeset 37804


Ignore:
Timestamp:
Jun 24, 2008, 11:05:02 AM (12 years ago)
Author:
pmagrath@…
Message:

Fix problem reported by Rainer where whoami might be incorrect if the main group of the user does not have the same name as the user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gsoc08-privileges/base/aclocal.m4

    r37620 r37804  
    303303                # Set install-user to current user
    304304                AC_MSG_CHECKING([for install user])
    305                 DSTUSR=`whoami`
     305                DSTUSR=`id -un`
    306306                AC_MSG_RESULT([$DSTUSR])
    307307                AC_SUBST(DSTUSR)
     
    309309                # Set install-group to current user
    310310                AC_MSG_CHECKING([for install group])
    311                 DSTGRP=`whoami`
     311                DSTGRP=`id -gn`
    312312                AC_MSG_RESULT([$DSTGRP])
    313313                AC_SUBST(DSTGRP)
Note: See TracChangeset for help on using the changeset viewer.