Index: glassfish/config/asenv.conf
--- glassfish/config/asenv.conf.orig	2011-02-15 08:44:28.000000000 +0100
+++ glassfish/config/asenv.conf	2011-07-24 00:37:55.000000000 +0200
@@ -61,8 +61,8 @@
 
 AS_IMQ_LIB="../../mq/lib"
 AS_IMQ_BIN="../../mq/bin"
-AS_CONFIG="../config"
+AS_CONFIG="@l_prefix@/etc/glassfish"
 AS_INSTALL=".."
-AS_DEF_DOMAINS_PATH="../domains"
-AS_DEF_NODES_PATH="../nodes"
+AS_DEF_DOMAINS_PATH="@l_prefix@/var/glassfish/domains"
+AS_DEF_NODES_PATH="@l_prefix@/var/glassfish/nodes"
 AS_DERBY_INSTALL="../../javadb"
