#$DELIM ${PRODUCT_TYPE} $DELIM
export DISTENE_HOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
export MESHGEMSHOME=\${DISTENE_HOME}/MeshGems-${MESHGEMS_VERSION}/Products
-export LD_LIBRARY_PATH=\${MESHGEMSHOME}/lib/Linux${PLT_SUFFIX}:\${LD_LIBRARY_PATH}
-export PATH=\${MESHGEMSHOME}/bin/Linux${PLT_SUFFIX}:\${PATH}
export HEXOTICHOME=\${DISTENE_HOME}/Hexotic-${HEXOTIC_VERSION}
-export PATH=\${HEXOTICHOME}/bin/Linux${PLT_SUFFIX}:\${PATH}
+export LD_LIBRARY_PATH=\${MESHGEMSHOME}/lib/Linux${PLT_SUFFIX}:\${LD_LIBRARY_PATH}
+export PATH=\${MESHGEMSHOME}/bin/Linux${PLT_SUFFIX}:\${HEXOTICHOME}/bin/Linux${PLT_SUFFIX}:\${PATH}
##
EOF
(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
cd ${PRODUCT_DIR}/bin;
scripts=`find . -type f`
-for f in X $scripts ; do
+for f in X ${scripts} ; do
if test "${f}" == "X" ; then continue ; fi
sed -i "s%#\!.*python%#\!/usr/bin/env python%" ${f}
done
cd ${PRODUCT_DIR}/bin;
scripts=`find . -name "*.py" -exec basename {} ";" | awk -F. '{print $1}'`
-for f in X $scripts ; do
+for f in X ${scripts} ; do
if test "${f}" == "X" ; then continue ; fi
sed -i "s%#\!.*python%#\!/usr/bin/env python%" ${f}.py
ln -sf ${f}.py ${f}
#
# homard version
#
-HOMARD_VERSION=10.5
+HOMARD_VERSION=10.6
#
# homard's bin directory (platform)
if [ "${patch_sources}" = "1" ] ; then
if [ -f patches/${PRODUCT}.patch ] ; then
cp patches/${PRODUCT}.patch ${PRODUCT_SRC_DIR}
- ( cd ${PRODUCT_SRC_DIR}; patch < ${PRODUCT}.patch )
+ ( cd ${PRODUCT_SRC_DIR}; patch -p0< ${PRODUCT}.patch )
fi
fi