summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-01 18:20:58 +0100
committerJonathan Bauer2013-03-01 18:20:58 +0100
commitb31cb40cfe46a71ade7bed5b519e23488d9aec40 (patch)
treeef090dd929836bd058f41065370472f0f9e8052c /remote
parentuse list_packet_files in build-script (diff)
downloadtm-scripts-b31cb40cfe46a71ade7bed5b519e23488d9aec40.tar.gz
tm-scripts-b31cb40cfe46a71ade7bed5b519e23488d9aec40.tar.xz
tm-scripts-b31cb40cfe46a71ade7bed5b519e23488d9aec40.zip
use list_packet_files in xorg.build
Diffstat (limited to 'remote')
-rw-r--r--remote/tools/xorg/xorg.build21
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() {