diff options
author | Jonathan Bauer | 2013-03-01 18:18:26 +0100 |
---|---|---|
committer | Jonathan Bauer | 2013-03-01 18:18:26 +0100 |
commit | d28cf26812cea9e974268bc2fa9d31f524ccbdc8 (patch) | |
tree | 85a3594deecd005ab2dbe93034a9a00962817071 /remote/setup_tools | |
parent | change perror to pwarning if a package is not installed. TODO what if a packa... (diff) | |
download | tm-scripts-d28cf26812cea9e974268bc2fa9d31f524ccbdc8.tar.gz tm-scripts-d28cf26812cea9e974268bc2fa9d31f524ccbdc8.tar.xz tm-scripts-d28cf26812cea9e974268bc2fa9d31f524ccbdc8.zip |
use tarcopy in setup_tools
Diffstat (limited to 'remote/setup_tools')
-rwxr-xr-x | remote/setup_tools | 5 |
1 files changed, 2 insertions, 3 deletions
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 } |