Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage1 / pkg / coreutils
index d8de2a7..f04cb86 100644 (file)
@@ -2,7 +2,7 @@
 
 hvconfig_post()
 {
-    cd ${LFS_TMP}/${PACKAGE}
+    cd ${BUILD_DIR}
     sed -e 's/^#\(run_help2man.*dummy-man\)/\1/' \
         -e 's/^\(run_help2man.*PERL.*\)/#\1/' \
         -i Makefile
@@ -16,7 +16,7 @@ hvconfig_post()
 # config.cache  to correct this, and fix various cross-compiling issues:
 hvconfig_cache()
 {
-cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF
+cat > ${BUILD_DIR}/config.cache << EOF
 fu_cv_sys_stat_statfs2_bsize=yes
 gl_cv_func_working_mkstemp=yes
 EOF