mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
office/openoffice.org: Silence a harmless warning
Thanks to <redacted> for noticing the tarry spew. ;-) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
fc25dd0879
commit
8687c9844f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue