Menu ▾ ▴

#16 Patch to fix running 1.21 on solaris.

open
nobody
None
5
2005-10-28
2005-10-28
No

Problems with assuming bin/sh is bash in perl server code

From solats man test

-e file
True if file exists. (Not available in sh.)

This is used in the exitcode output tester which means
you can't
acutlally run flexbackup on solaris correctly.

subed with:-
solaris:
-f file
True if file exists and is a regular
file. Alter-
natively, if /usr/bin/sh users
specify /usr/ucb
before /usr/bin in their PATH
environment vari-
able, then test will return true if
file exists
and is (not-a-directory). The csh
test and [
built-ins always use this alternative
behavior.
linux:

-f FILE
FILE exists and is a regular file

Discussion

  • Phillip Camp

    Phillip Camp - 2005-10-28

    Patch to fix running 1.21 on solaris.

     

Log in to post a comment.