From b31cb40cfe46a71ade7bed5b519e23488d9aec40 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 1 Mar 2013 18:20:58 +0100 Subject: use list_packet_files in xorg.build --- remote/tools/xorg/xorg.build | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'remote/tools') diff --git a/remote/tools/xorg/xorg.build b/remote/tools/xorg/xorg.build index 9cd90db9..c0e9adc6 100644 --- a/remote/tools/xorg/xorg.build +++ b/remote/tools/xorg/xorg.build @@ -6,23 +6,12 @@ fetch_source() { build() { - BUILDDIR="$TOOL_DIR/$TOOL/build" + BUILDDIR="$TOOL_DIR/$TOOL/build" + COPYLIST="list_dpkg_output" + [ -e "$COPYLIST" ] && rm "$COPYLIST" - COPYLIST="list_dpkg_output" - [ -e "$COPYLIST" ] && rm "$COPYLIST" - - for PACKAGE in ${REQUIRED_PACKAGES} - do - for FILE in $(dpkg -L ${PACKAGE} | grep -v share/doc | grep -v share/man) - do - [ ! -d $FILE ] && echo $FILE >> "$COPYLIST" - done - done - - # prepare target dir & copy there - mkdir -p "$BUILDDIR" - tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR" - + list_packet_files >> "$COPYLIST" + tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR" } post_copy() { -- cgit v1.2.3-55-g7522