summaryrefslogtreecommitdiffstats
path: root/remote/setup_tools
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-01 18:18:26 +0100
committerJonathan Bauer2013-03-01 18:18:26 +0100
commitd28cf26812cea9e974268bc2fa9d31f524ccbdc8 (patch)
tree85a3594deecd005ab2dbe93034a9a00962817071 /remote/setup_tools
parentchange perror to pwarning if a package is not installed. TODO what if a packa... (diff)
downloadtm-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-xremote/setup_tools5
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
}