summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-06-04 21:17:58 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2003-06-04 21:17:58 (GMT)
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 ce8533c..41d8e17 100755
--- a/pkg/solaris/solpkg
+++ b/pkg/solaris/solpkg
@@ -19,7 +19,7 @@ if ($pwd =~ '\/usr\/local') {
19die "Wrong location, please cd to <PKGBASE>/usr/local/ and run again.\n" 19die "Wrong location, please cd to <PKGBASE>/usr/local/ and run again.\n"
20 if ($pwd eq ""); 20 if ($pwd eq "");
21 21
22open (PREPROTO,"$find . -print |$egrep -v \"^.(/usr(/local)|/opt)?\$\" | $pkgproto |") || 22open (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";
24open (PROTO,">$prototype") || 24open (PROTO,">$prototype") ||
25 die "Unable to write file prototype ($!)\n"; 25 die "Unable to write file prototype ($!)\n";