summaryrefslogtreecommitdiffstats
path: root/pkg/solaris
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/solaris')
-rw-r--r--pkg/solaris/pkginfo.in2
-rwxr-xr-xpkg/solaris/solpkg2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/solaris/pkginfo.in b/pkg/solaris/pkginfo.in
index 9211fcf8..c9dcced0 100644
--- a/pkg/solaris/pkginfo.in
+++ b/pkg/solaris/pkginfo.in
@@ -7,6 +7,6 @@ CATEGORY="application"
7VENDOR="Nagios Plugin Development Team" 7VENDOR="Nagios Plugin Development Team"
8EMAIL="nagiosplug-devel@lists.sourceforge.net" 8EMAIL="nagiosplug-devel@lists.sourceforge.net"
9PSTAMP="nag@REV_TIMESTAMP@" 9PSTAMP="nag@REV_TIMESTAMP@"
10BASEDIR="/usr/local" 10BASEDIR="/"
11CLASSES="none" 11CLASSES="none"
12 12
diff --git a/pkg/solaris/solpkg b/pkg/solaris/solpkg
index 0b82bce0..00846d09 100755
--- a/pkg/solaris/solpkg
+++ b/pkg/solaris/solpkg
@@ -18,7 +18,7 @@ if ($pwd =~ '\/usr\/local') {
18die "Wrong location, please cd to <PKGBASE>/usr/local/ and run again.\n" 18die "Wrong location, please cd to <PKGBASE>/usr/local/ and run again.\n"
19 if ($pwd eq ""); 19 if ($pwd eq "");
20 20
21open (PREPROTO,"$find . -print |$pkgproto |") || 21open (PREPROTO,"$find . -print |$egrep -v \"^.(/usr(/local)|/opt)?\$\" | $pkgproto |") ||
22 die "Unable to read prototype information ($!)\n"; 22 die "Unable to read prototype information ($!)\n";
23open (PROTO,">$prototype") || 23open (PROTO,">$prototype") ||
24 die "Unable to write file prototype ($!)\n"; 24 die "Unable to write file prototype ($!)\n";