diff options
| author | Jonathan Bauer | 2013-03-01 18:20:58 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-01 18:20:58 +0100 |
| commit | b31cb40cfe46a71ade7bed5b519e23488d9aec40 (patch) | |
| tree | ef090dd929836bd058f41065370472f0f9e8052c | |
| parent | use list_packet_files in build-script (diff) | |
| download | tm-scripts-b31cb40cfe46a71ade7bed5b519e23488d9aec40.tar.gz tm-scripts-b31cb40cfe46a71ade7bed5b519e23488d9aec40.tar.xz tm-scripts-b31cb40cfe46a71ade7bed5b519e23488d9aec40.zip | |
use list_packet_files in xorg.build
| -rw-r--r-- | remote/tools/xorg/xorg.build | 21 |
1 files changed, 5 insertions, 16 deletions
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() { |
