Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage5 / pkg / sane-backends
index 639fc43..4bcf018 100644 (file)
@@ -17,7 +17,7 @@ hvconfig_pre()
     hv_useradd --system -c saned -d /dev/null -g saned -s /bin/false saned
 
     # Fixes an obsolete udev parameter:
-    sed -i 's/SYSFS/ATTRS/g' ${LFS_TMP}/${PACKAGE}/tools/sane-desc.c
+    sed -i 's/SYSFS/ATTRS/g' ${SRC_DIR}/tools/sane-desc.c
 
     CONFIGURE_OPTS+=" --with-x=${USE_X_OPTION}"
 }