aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-06-04 21:17:58 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-06-04 21:17:58 +0000
commit7afe6f184b5a302624920993d31998113bf99791 (patch)
tree1b1b6a4ffa9c18fff32cc0706f9ce7a42f480313 /pkg
parenta056942d490cd1aff857d6db5f0014607b78d8ad (diff)
downloadmonitoring-plugins-7afe6f184b5a302624920993d31998113bf99791.tar.gz
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
Diffstat (limited to 'pkg')
-rwxr-xr-xpkg/solaris/solpkg2
1 files changed, 1 insertions, 1 deletions
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 <PKGBASE>/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";