path: root/scripts/build/tools
diff options
authorYann E. MORIN" <>2010-01-02 17:00:54 (GMT)
committerYann E. MORIN" <>2010-01-02 17:00:54 (GMT)
commit8908eb30375d19816e1329b8a4aa4daa430204b0 (patch)
treefbeb902d914447973cc68d2a96717367ad3c6d9c /scripts/build/tools
parent5ae9b7faf9d8ee65a965b3cd40e2fad63f7884ab (diff)
misc: do not use "tar cf - |tar xf -"
Using this: tar cf - -C "/some/place" |tar xf - -C "/some/other/place" to copy a directory to another place does not properly fail (when it does). Using this instead: cp -av "/some/place" "/some/other/place" makes it easy to see why and how it failed. Impacted: libc/uClibc debug/ltrace tools/sstrip scripts/populate
Diffstat (limited to 'scripts/build/tools')
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/tools/ b/scripts/build/tools/
index b72aa79..c677072 100644
--- a/scripts/build/tools/
+++ b/scripts/build/tools/
@@ -12,9 +12,9 @@ case "${CT_SSTRIP_FROM}" in
do_tools_sstrip_build() {
CT_DoStep INFO "Installing sstrip"
- mkdir -p "${CT_BUILD_DIR}/build-strip"
+ CT_DoExecLog ALL cp -av "${CT_SRC_DIR}/ELFkickers-${CT_SSTRIP_ELFKICKERS_VERSION}/sstrip" \
+ "${CT_BUILD_DIR}/build-strip"
cd "${CT_BUILD_DIR}/build-strip"
- ( cd "${CT_SRC_DIR}/ELFkickers-${CT_SSTRIP_ELFKICKERS_VERSION}/sstrip"; tar cf - . ) |tar xf -
CT_DoLog EXTRA "Building sstrip"
CT_DoExecLog ALL make CC="${CT_HOST}-gcc" sstrip