diff options
| author | Simon Rettberg | 2013-09-09 20:24:45 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-09-09 20:24:45 +0200 |
| commit | b92510902dec95eed8835cdbf630dee6baa9aad2 (patch) | |
| tree | c247150f9a1ed2676765c2053524efb95ccb91ab /remote/modules | |
| parent | [helper/fileutil] Fix error handling in install_packages (diff) | |
| download | tm-scripts-b92510902dec95eed8835cdbf630dee6baa9aad2.tar.gz tm-scripts-b92510902dec95eed8835cdbf630dee6baa9aad2.tar.xz tm-scripts-b92510902dec95eed8835cdbf630dee6baa9aad2.zip | |
[polkit] FIX: Actually take REQUIRED_DIR_STRUCT into account
Diffstat (limited to 'remote/modules')
| -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}" |
