aboutsummaryrefslogtreecommitdiff
path: root/pkg/solaris/solpkg
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-05-14 21:39:48 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-05-14 21:39:48 +0000
commit7abe670895f8c4921c93d518ccb56170cdc33629 (patch)
tree1f4e11eb8469689b6380d49aa7fab0dd29eea5e9 /pkg/solaris/solpkg
parent61b0173555ec08f2b03182c9113f1abbc40a4291 (diff)
downloadmonitoring-plugins-7abe670895f8c4921c93d518ccb56170cdc33629.tar.gz
Remove dependency on gnu make
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@509 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'pkg/solaris/solpkg')
-rwxr-xr-xpkg/solaris/solpkg2
1 files changed, 1 insertions, 1 deletions
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 <PKGBASE>/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";