pkgsrc/shells/perlsh/patches/patch-aa
tv 629d4acd88 Partly Interix fix, but also readonly-root fix: Don't use "-w '/'" to
determine whether to install in PREFIX/share.  Just do it anyway.
2005-01-21 03:53:17 +00:00

13 lines
301 B
Text

$NetBSD: patch-aa,v 1.1 2005/01/21 03:53:17 tv Exp $
--- postinstall.pl.orig 2005-01-20 22:51:05.000000000 -0500
+++ postinstall.pl
@@ -6,7 +6,7 @@ if ($^O eq 'MSWin32') {
} else {
my $where;
- if( -w '/') {
+ if(1) {
$where= $ARGV[0]||$ARGV[1]||'/usr/local';
} else {
$where ='~/.psh';