# HG changeset patch # User Christophe Lincoln # Date 1304948470 -7200 # Node ID a7098da1ec6db1b948730f68da5e6d523ea4cefa # Parent 7fdec10b7fe2d04f34944c1f7dcb04e50414f575 extract_source: redirect tar error to /dev/null diff -r 7fdec10b7fe2 -r a7098da1ec6d cook --- a/cook Mon May 09 14:40:27 2011 +0200 +++ b/cook Mon May 09 15:41:10 2011 +0200 @@ -220,8 +220,8 @@ extract_source() { gettext "Extracting:"; echo " $TARBALL" case "$TARBALL" in - *.tar.gz|*.tgz) tar xzf $SRC/$TARBALL ;; - *.tar.bz2|*.tbz) tar xjf $SRC/$TARBALL ;; + *.tar.gz|*.tgz) tar xzf $SRC/$TARBALL 2>/dev/null ;; + *.tar.bz2|*.tbz) tar xjf $SRC/$TARBALL 2>/dev/null ;; *.tar.lzma) tar xaf $SRC/$TARBALL ;; *.tar) tar xf $SRC/$TARBALL ;; *.zip|*.xpi) unzip -o $SRC/$TARBALL ;;