Browse code

Merge "Fix the default for APACHE_GROUP"

Jenkins authored on 2012/12/06 04:43:26
Showing 1 changed files
... ...
@@ -29,10 +29,10 @@ set +o xtrace
29 29
 # Set up default directories
30 30
 HORIZON_DIR=$DEST/horizon
31 31
 
32
-# Allow overriding the default Apache user and group, default both to
33
-# current user.
32
+# Allow overriding the default Apache user and group, default to
33
+# current user and his default group.
34 34
 APACHE_USER=${APACHE_USER:-$USER}
35
-APACHE_GROUP=${APACHE_GROUP:-$APACHE_USER}
35
+APACHE_GROUP=${APACHE_GROUP:-$(id -gn $APACHE_USER)}
36 36
 
37 37
 
38 38
 # Entry Points