cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
#${DELIM} ${PRODUCT_TYPE} ${DELIM}
export WSO2_ROOT_DIR=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-exportp PATH=\${WSO2_ROOT_DIR}/bin:\${PATH}
-exportp LD_LIBRARY_PATH=\${WSO2_ROOT_DIR}/lib=\${LD_LIBRARY_PATH}
+export PATH=\${WSO2_ROOT_DIR}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${WSO2_ROOT_DIR}/lib=\${LD_LIBRARY_PATH}
##
EOF
(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})