aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2011-10-01 13:45:59 +0200
committerDavid 'Digit' Turner <digit@google.com>2011-10-01 13:45:59 +0200
commitdac419ddd95fc66557c2240be36e519a67c757aa (patch)
treed06490244e7ff129acfb7a238db769d1cb65717f
parent180419b33328baff48967e59600ff6fad7740dc0 (diff)
downloadndk-dac419ddd95fc66557c2240be36e519a67c757aa.tar.gz
ndk-common.sh: avoid error messages in copy_directory
Change-Id: I6afcb9445b6b5096a202de2dddcd02794b2509bd
-rw-r--r--build/core/ndk-common.sh2
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"
}