From d28cf26812cea9e974268bc2fa9d31f524ccbdc8 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 1 Mar 2013 18:18:26 +0100 Subject: use tarcopy in setup_tools --- remote/setup_tools | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'remote') diff --git a/remote/setup_tools b/remote/setup_tools index 6dd35a8c..4ddd0ef0 100755 --- a/remote/setup_tools +++ b/remote/setup_tools @@ -6,6 +6,7 @@ MODULE_DIR="${ROOT_DIR}/remote" TOOL_DIR="${MODULE_DIR}/tools" INIT_DIR="${MODULE_DIR}/stage3.2" + # Keep track of processed modules PROCESSED_MODULES="" @@ -127,9 +128,7 @@ copyfileswithdependencies () if [ -s "$COPYFILES_LIST" ]; then local CLISTCOUNT=$(cat "$COPYFILES_LIST" | wc -l) pinfo "Copying $CLISTCOUNT files to stage 3.2 target directory." - tar -cp $(cat ${COPYFILES_LIST}|sort -u) | tar -xp -C "${INIT_DIR}" - local RET=$? - [ "x$RET" != "x0" ] && perror "Could not tar-copy to $INIT_DIR" + tarcopy "$(cat "$COPYFILES_LIST"|sort -u)" "${INIT_DIR}" fi } -- cgit v1.2.3-55-g7522