From b2a71d406aea229346bef0478ce454111f13beda Mon Sep 17 00:00:00 2001 From: Douglas RAILLARD Date: Thu, 31 Jan 2019 14:34:56 +0000 Subject: [PATCH] devlib: remove accidental commit --- external/devlib/devlib/bin/scripts/shutils.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/devlib/devlib/bin/scripts/shutils.in b/external/devlib/devlib/bin/scripts/shutils.in index 149bc8ffc..e230229e1 100755 --- a/external/devlib/devlib/bin/scripts/shutils.in +++ b/external/devlib/devlib/bin/scripts/shutils.in @@ -271,7 +271,9 @@ read_tree_tgz_b64() { # 'tar' doesn't work as expected on debugfs, so copy the tree first to # workaround the issue cd $BASEPATH - $BUSYBOX find . -follow -type f -maxdepth $MAXDEPTH -print0 | $BUSYBOX xargs -0 -I '{}' -n 999999 $BUSYBOX cp --parents '{}' $TMP_FOLDER/ 2> /dev/null + for CUR_FILE in $($BUSYBOX find . -follow -type f -maxdepth $MAXDEPTH); do + $BUSYBOX cp --parents $CUR_FILE $TMP_FOLDER/ 2> /dev/null + done cd $TMP_FOLDER $BUSYBOX tar cz * 2>/dev/null | $BUSYBOX base64 -- GitLab