Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage3 / pkg / tcp_wrappers
index 70ff65f..0616a1d 100644 (file)
@@ -2,8 +2,7 @@
 
 hvconfig_pre()
 {
-    cd ${LFS_TMP}/${PACKAGE}
-    sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
+    sed -i -e "s,^extern char \*malloc();,/* & */," ${SRC_DIR}/scaffold.c
 }
 
 hvbuild()