From 7abe670895f8c4921c93d518ccb56170cdc33629 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 14 May 2003 21:39:48 +0000 Subject: Remove dependency on gnu make git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@509 f882894a-f735-0410-b71e-b25c423dba1c --- pkg/solaris/pkginfo.in | 2 +- pkg/solaris/solpkg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/solaris') 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" VENDOR="Nagios Plugin Development Team" EMAIL="nagiosplug-devel@lists.sourceforge.net" PSTAMP="nag@REV_TIMESTAMP@" -BASEDIR="/usr/local" +BASEDIR="/" CLASSES="none" 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') { die "Wrong location, please cd to /usr/local/ and run again.\n" if ($pwd eq ""); -open (PREPROTO,"$find . -print |$pkgproto |") || +open (PREPROTO,"$find . -print |$egrep -v \"^.(/usr(/local)|/opt)?\$\" | $pkgproto |") || die "Unable to read prototype information ($!)\n"; open (PROTO,">$prototype") || die "Unable to write file prototype ($!)\n"; -- cgit v1.2.3-74-g34f1