TAR_OPTS="-b8"
+HV_FONTS_PATH="/usr/share/fonts"
+
# It seems that when compiling bash-4.0, using
# "make -j 1" is causing problems...
if [ "x${MAKEJOBS}" = "x1" ]; then
return 1
fi
- echo ${1} | sed "s!^\(.*\)-.*!\1!g"
+ echo ${1} | sed "s!^\(.*\)-[0-9]*\.[0-9]*.*!\1!g"
}
# Saves the content of CFLAGS and CXXFLAGS environment variables.
# Executing command
${CMD_WITH_ARGS} 1>> ${LFS_LOG_FILE} 2>&1
- eval_retval
+ if [ $? -ne 0 ]; then
+ print_status failure
+ if [ -n "${RCMD_NO_EXIT}" ]; then
+ return ${EXIT_FAILURE}
+ else
+ exit ${EXIT_FAILURE}
+ fi
+ fi
# Displaying build time after the package name
print_status success