mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
shutils: Fix read_tree_tgz_b64 on empty folder
Hide tar stderr output, so it does not get mixed with the base64 stream in case the folder we are tarring is empty.
This commit is contained in:
parent
f65130b7c7
commit
17d4b22b9f
@ -276,7 +276,7 @@ read_tree_tgz_b64() {
|
||||
done
|
||||
|
||||
cd $TMP_FOLDER
|
||||
$BUSYBOX tar cz * | $BUSYBOX base64
|
||||
$BUSYBOX tar cz * 2>/dev/null | $BUSYBOX base64
|
||||
|
||||
# Clean-up the tmp folder since we won't need it any more
|
||||
cd $TMPBASE
|
||||
|
Loading…
x
Reference in New Issue
Block a user