summaryrefslogtreecommitdiffstats
path: root/core/rootfs/rootfs-stage31/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/rootfs/rootfs-stage31/module.build')
-rw-r--r--core/rootfs/rootfs-stage31/module.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/rootfs/rootfs-stage31/module.build b/core/rootfs/rootfs-stage31/module.build
index 024aadd0..3c72c385 100644
--- a/core/rootfs/rootfs-stage31/module.build
+++ b/core/rootfs/rootfs-stage31/module.build
@@ -6,8 +6,8 @@ fetch_source() {
build() {
local COPYLIST BIN_LOCATION DRM_MODULES FILE BIN MODNAME PCI_FILE ALIAS VENDOR DEVICE LIB
- local COPYLIST="list_binaries_and_files"
- [ -e "$COPYLIST" ] && rm -f "$COPYLIST"
+ COPYLIST="${MODULE_WORK_DIR}/list_binaries_and_files"
+ rm --f "$COPYLIST"
for BIN in $REQUIRED_BINARIES; do
local BIN_LOCATION=$(which "$BIN")
[ -z "$BIN_LOCATION" ] && perror "Cannot find $BIN"