diff options
Diffstat (limited to 'pkg/solaris/solpkg')
-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 0b82bce0..00846d09 100755 --- a/pkg/solaris/solpkg +++ b/pkg/solaris/solpkg @@ -18,7 +18,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 |$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"; |