From 7afe6f184b5a302624920993d31998113bf99791 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 4 Jun 2003 21:17:58 +0000 Subject: Remove /usr as well. Maybe this is best done by changing BASEDIR to configure's prefix? git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@532 f882894a-f735-0410-b71e-b25c423dba1c --- pkg/solaris/solpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/solaris/solpkg b/pkg/solaris/solpkg index ce8533cb..41d8e177 100755 --- a/pkg/solaris/solpkg +++ b/pkg/solaris/solpkg @@ -19,7 +19,7 @@ if ($pwd =~ '\/usr\/local') { die "Wrong location, please cd to /usr/local/ and run again.\n" if ($pwd eq ""); -open (PREPROTO,"$find . -print |$egrep -v \"^.(/usr(/local)|/opt)?\$\" | $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