diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-06-04 21:17:58 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-06-04 21:17:58 +0000 |
commit | 7afe6f184b5a302624920993d31998113bf99791 (patch) | |
tree | 1b1b6a4ffa9c18fff32cc0706f9ce7a42f480313 /pkg | |
parent | a056942d490cd1aff857d6db5f0014607b78d8ad (diff) | |
download | monitoring-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-x | pkg/solaris/solpkg | 2 |
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') { | |||
19 | die "Wrong location, please cd to <PKGBASE>/usr/local/ and run again.\n" | 19 | die "Wrong location, please cd to <PKGBASE>/usr/local/ and run again.\n" |
20 | if ($pwd eq ""); | 20 | if ($pwd eq ""); |
21 | 21 | ||
22 | open (PREPROTO,"$find . -print |$egrep -v \"^.(/usr(/local)|/opt)?\$\" | $pkgproto |") || | 22 | open (PREPROTO,"$find . -print |$egrep -v \"^\.(/usr(/local)?|/opt)?\$\" | $pkgproto |") || |
23 | die "Unable to read prototype information ($!)\n"; | 23 | die "Unable to read prototype information ($!)\n"; |
24 | open (PROTO,">$prototype") || | 24 | open (PROTO,">$prototype") || |
25 | die "Unable to write file prototype ($!)\n"; | 25 | die "Unable to write file prototype ($!)\n"; |