two (minor) errors on linux install
Posted: Mon Jul 19, 2004 11:06 pm
I came across the following two errors installing oxygen 4.2 for Linux (RHEL WS 3.0). They appear to be harmless, but if it doesn't break anything to fix, why not fix them? 
The first error was already reported in this forum (tail: `-1' option is obsolete; use `-n 1'), but I didn't see any report of the second.
$AVAIL_SPACE is null because of the first error. The script needs the -n 1 (at least on my RedHat system when POSIXLY_CORRECT=1 is set).

The first error was already reported in this forum (tail: `-1' option is obsolete; use `-n 1'), but I didn't see any report of the second.
Line 327 reads:$ ./oxygen.bin
Preparing to install...
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
./oxygen.bin: line 327: [: `)' expected, found -z
WARNING! The amount of /tmp disk space required and/or available
could not be determined. The installation will be attempted anyway.
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Code: Select all
if [ ! \( -z $AVAIL_SPACE -o -z $NEEDED_SPACE \) ]; then