[Rt-commit] r3070 - rt/branches/3.4-RELEASE

robert at bestpractical.com robert at bestpractical.com
Fri Jun 3 23:36:50 EDT 2005


Author: robert
Date: Fri Jun  3 23:36:50 2005
New Revision: 3070

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/configure.ac
Log:
 r3078 at bear:  rspier | 2005-06-04T03:36:19.749340Z
 RT-Ticket: 6748
 RT-Status: resolved
 RT-Update: correspond
 
 Fallback to $LOGNAME if $USER isn't defined for --with-my-user-group
 
 


Modified: rt/branches/3.4-RELEASE/configure.ac
==============================================================================
--- rt/branches/3.4-RELEASE/configure.ac	(original)
+++ rt/branches/3.4-RELEASE/configure.ac	Fri Jun  3 23:36:50 2005
@@ -202,14 +202,15 @@
 
 dnl INSTALL AS ME
 my_group=$(groups|cut -f1 -d' ')
+my_user=${USER:-$LOGNAME}
 AC_ARG_WITH(my-user-group,
             AC_HELP_STRING([--with-my-user-group],
                            [set all users and groups to current user/group]),
             RTGROUP=$my_group
-            BIN_OWNER=$USER
-            LIBS_OWNER=$USER
+            BIN_OWNER=$my_user
+            LIBS_OWNER=$my_user
             LIBS_GROUP=$my_group
-            WEB_USER=$USER
+            WEB_USER=$my_user
             WEB_GROUP=$my_group)
 
 


More information about the Rt-commit mailing list