From 8687c9844f40a1164d8dea530d8fb0bd9365cea1 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Thu, 17 Jun 2010 11:01:52 -0500 Subject: office/openoffice.org: Silence a harmless warning Thanks to for noticing the tarry spew. ;-) Signed-off-by: Robby Workman --- office/openoffice.org/openoffice.org.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'office/openoffice.org') diff --git a/office/openoffice.org/openoffice.org.SlackBuild b/office/openoffice.org/openoffice.org.SlackBuild index 4ee5a89eb1..4969a8bbe7 100644 --- a/office/openoffice.org/openoffice.org.SlackBuild +++ b/office/openoffice.org/openoffice.org.SlackBuild @@ -85,9 +85,9 @@ fi # Ignore this - it's just to get the toplevel directory name of the # extracted tarball archive if [ $WJRE != no ]; then - SOURCEDIR=$(tar tzf $CWD/OOo_${VERSION}_Linux_${SRCARCH}_install-rpm-wJRE_${OOLANG}.tar.gz | head -1 | tr -d \/) + SOURCEDIR=$(tar tzf $CWD/OOo_${VERSION}_Linux_${SRCARCH}_install-rpm-wJRE_${OOLANG}.tar.gz 2>/dev/null | head -n 1 | tr -d \/) else - SOURCEDIR=$(tar tzf $CWD/OOo_${VERSION}_Linux_${SRCARCH}_install-rpm_${OOLANG}.tar.gz | head -1 | tr -d \/) + SOURCEDIR=$(tar tzf $CWD/OOo_${VERSION}_Linux_${SRCARCH}_install-rpm_${OOLANG}.tar.gz 2>/dev/null | head -n 1 | tr -d \/) fi # If the above operation failed for some reason, unset SOURCEDIR so that # the "set -eu" below will cause us to bail out with an error -- cgit v1.2.3