diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-06-17 11:01:52 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-17 14:46:03 -0500 |
commit | 8687c9844f40a1164d8dea530d8fb0bd9365cea1 (patch) | |
tree | 0316a3a3a08d1726694902958fc36d47c362bde4 /office/openoffice.org | |
parent | fc25dd0879f742e0f9cdba374af0066ec4511eee (diff) |
office/openoffice.org: Silence a harmless warning
Thanks to <redacted> for noticing the tarry spew. ;-)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/openoffice.org')
-rw-r--r-- | office/openoffice.org/openoffice.org.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/office/openoffice.org/openoffice.org.SlackBuild b/office/openoffice.org/openoffice.org.SlackBuild index 4ee5a89eb1dff..4969a8bbe71d4 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 |