SUMMARY: prepatch test $HOMEDIR

From: Andrew Lamb (
Date: Wed Dec 11 1996 - 17:33:21 CST

From: "Karl E. Vogel" <>

   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?

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:18 CDT