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') { | |||
18 | die "Wrong location, please cd to <PKGBASE>/usr/local/ and run again.\n" | 18 | die "Wrong location, please cd to <PKGBASE>/usr/local/ and run again.\n" |
19 | if ($pwd eq ""); | 19 | if ($pwd eq ""); |
20 | 20 | ||
21 | open (PREPROTO,"$find . -print |$pkgproto |") || | 21 | open (PREPROTO,"$find . -print |$egrep -v \"^.(/usr(/local)|/opt)?\$\" | $pkgproto |") || |
22 | die "Unable to read prototype information ($!)\n"; | 22 | die "Unable to read prototype information ($!)\n"; |
23 | open (PROTO,">$prototype") || | 23 | open (PROTO,">$prototype") || |
24 | die "Unable to write file prototype ($!)\n"; | 24 | die "Unable to write file prototype ($!)\n"; |