Fix segfault with evince
[hvlinux.git] / stage1 / pkg / bash
index 867e03a..6d0abc3 100644 (file)
@@ -3,12 +3,12 @@
 # When Bash is cross-compiled, it cannot test for the presence of named pipes,
 # among other things. If you used su to become an unprivileged user, this
 # combination will cause Bash to build without process substitution, which
-# will break one of the C++ test scripts in eglibc. The following prevents
+# will break one of the C++ test scripts in glibc. The following prevents
 # future problems by skipping the check for named pipes, as well as other tests
 # that can not run while cross-compiling or that do not run properly:
 hvconfig_cache()
 {
-cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF
+cat > ${BUILD_DIR}/config.cache << EOF
 ac_cv_func_mmap_fixed_mapped=yes
 ac_cv_func_strcoll_works=yes
 ac_cv_func_working_mktime=yes
@@ -26,5 +26,5 @@ EOF
 
 hvbuild_post()
 {
-    ln -svfT bash /tools/bin/sh
+    ln -svfT bash ${TOOLS_DIR}/bin/sh
 }