diff options
author | Simon Rettberg | 2013-09-09 20:24:45 +0200 |
---|---|---|
committer | Jonathan Bauer | 2013-09-30 13:22:05 +0200 |
commit | 0785cc876f030b2bdffa7126790db38e574d47cf (patch) | |
tree | 63edfb1b353f64309b6b379dce49f19e92129a5f /remote/modules/polkit | |
parent | [helper/fileutil] Fix error handling in install_packages (diff) | |
download | tm-scripts-0785cc876f030b2bdffa7126790db38e574d47cf.tar.gz tm-scripts-0785cc876f030b2bdffa7126790db38e574d47cf.tar.xz tm-scripts-0785cc876f030b2bdffa7126790db38e574d47cf.zip |
[polkit] FIX: Actually take REQUIRED_DIR_STRUCT into account
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}" |