summaryrefslogtreecommitdiffstats
path: root/remote/setup_tools
diff options
context:
space:
mode:
authorSimon Rettberg2013-02-25 19:08:09 +0100
committerSimon Rettberg2013-02-25 19:08:09 +0100
commitac695437b5a672f9eb0d0e63655cb48286e3b2c0 (patch)
treed6176a952649365dc0cc26bda753a253ca9b2590 /remote/setup_tools
parent[tools] replace locate by find in base.build as it is faster, [setup_tools] t... (diff)
downloadtm-scripts-ac695437b5a672f9eb0d0e63655cb48286e3b2c0.tar.gz
tm-scripts-ac695437b5a672f9eb0d0e63655cb48286e3b2c0.tar.xz
tm-scripts-ac695437b5a672f9eb0d0e63655cb48286e3b2c0.zip
fix tarcopy call for base
Diffstat (limited to 'remote/setup_tools')
-rwxr-xr-xremote/setup_tools10
1 files changed, 3 insertions, 7 deletions
diff --git a/remote/setup_tools b/remote/setup_tools
index 2df84a5d..bf3f5157 100755
--- a/remote/setup_tools
+++ b/remote/setup_tools
@@ -40,7 +40,7 @@ copyfileswithdependencies ()
cd build
- COPYFILES_LIST="list_wanted_stage3.2"
+ local COPYFILES_LIST="list_wanted_stage3.2"
[ -e ${COPYFILES_LIST} ] && rm ${COPYFILES_LIST}
@@ -151,9 +151,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
unset REQUIRED_BINARIES
unset REQUIRED_LIBRARIES
@@ -176,9 +174,7 @@ get_basic_libs () {
BASICLIBS="${BASICLIBS} $i $(readlink -f "$i")"
fi
done
- tar -cp ${BASICLIBS} | tar -xp -C ${INIT_DIR}
- local RET=$?
- [ "x$RET" != "x0" ] && perror "Could not tar-copy to $INIT_DIR"
+ tarcopy "${BASICLIBS}" "${INIT_DIR}"
}
generate_stage32 () {