diff options
Diffstat (limited to 'remote/setup_tools')
| -rwxr-xr-x | remote/setup_tools | 10 |
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 () { |
