Code

Remove /usr as well. Maybe this is best done by changing BASEDIR to
authorTon Voon <tonvoon@users.sourceforge.net>
Wed, 4 Jun 2003 21:17:58 +0000 (21:17 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Wed, 4 Jun 2003 21:17:58 +0000 (21:17 +0000)
configure's prefix?

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@532 f882894a-f735-0410-b71e-b25c423dba1c

pkg/solaris/solpkg

index ce8533cb4bf579ccbe895d00998ed183516f821f..41d8e1772ec064aaba3e068ed42fe1a5735821c5 100755 (executable)
@@ -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";