diff options
Diffstat (limited to 'remote/modules/polkit')
-rw-r--r-- | remote/modules/polkit/polkit.build | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/remote/modules/polkit/polkit.build b/remote/modules/polkit/polkit.build index eeae1e32..151da8a8 100644 --- a/remote/modules/polkit/polkit.build +++ b/remote/modules/polkit/polkit.build @@ -6,10 +6,9 @@ fetch_source () { } build () { - COPYLIST="$MODULE_DIR/list_dpkg_output" - [ -e "${COPYLIST}" ] && rm "${COPYLIST}" - - list_packet_files >> "${COPYLIST}" + local COPYLIST="$MODULE_DIR/list_dpkg_output" + list_packet_files > "$COPYLIST" + [ -n "$REQUIRED_DIR_STRUCT" ] && find $REQUIRED_DIR_STRUCT -type d >> "$COPYLIST" tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}" local POLPATH=$(find "$MODULE_BUILD_DIR" -name polkitd -executable | head -n 1) POLPATH="/${POLPATH#$MODULE_BUILD_DIR}" |