diff options
author | David 'Digit' Turner <digit@google.com> | 2011-10-01 13:45:59 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2011-10-01 13:45:59 +0200 |
commit | dac419ddd95fc66557c2240be36e519a67c757aa (patch) | |
tree | d06490244e7ff129acfb7a238db769d1cb65717f | |
parent | 180419b33328baff48967e59600ff6fad7740dc0 (diff) | |
download | ndk-dac419ddd95fc66557c2240be36e519a67c757aa.tar.gz |
ndk-common.sh: avoid error messages in copy_directory
Change-Id: I6afcb9445b6b5096a202de2dddcd02794b2509bd
-rw-r--r-- | build/core/ndk-common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/core/ndk-common.sh b/build/core/ndk-common.sh index 36add2cd4..2253bf50d 100644 --- a/build/core/ndk-common.sh +++ b/build/core/ndk-common.sh @@ -688,7 +688,7 @@ copy_directory () log "Copying directory: " log " from $SRCDIR" log " to $DSTDIR" - mkdir -p "$DSTDIR" && (cd "$SRCDIR" && tar cf - *) | (tar xf - -C "$DSTDIR") + mkdir -p "$DSTDIR" && (cd "$SRCDIR" && 2>/dev/null tar cf - *) | (tar xf - -C "$DSTDIR") fail_panic "Cannot copy to directory: $DSTDIR" } |