prepatch test $HOMEDIR

2007-12-25 11:57:00

From: "Karl E. Vogel" <vogelke@c17.wpafb.af.mil>

   Either set ROOTDIR to be "/" or change the test command to look like this:

        if test "$PKG_INSTALL_ROOT" = "/"

---------------------------

Thanks Karl!

Original Posting:

I'm trying to install patch 101945-43 on my Sun Sparc Classic Solaris 2.4

machine, but receive this message: ./prepatch: test: argument expected

Prepatch script contains the lines: PKG_INSTALL_ROOT=$ROOTDIR

                                        if test $PKG_INSTALL_ROOT = "/"

"env" shows no ROOTDIR variable. What should I do?

Comments

Got something to say?

You must be logged in to post a comment.