Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage1 / pkg / bash
index 6e3d9e5..dd9ae53 100644 (file)
@@ -8,7 +8,7 @@
 # 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}/tools/bin/sh
 }