termux-packages/packages/perl/Cwd.pm.patch

16 lines
557 B
Diff
Raw Normal View History

2015-08-31 02:35:01 +02:00
diff -u -r ../perl-5.22.0/dist/PathTools/Cwd.pm ./dist/PathTools/Cwd.pm
2017-03-08 17:41:26 +01:00
--- ../perl-5.24.1/dist/PathTools/Cwd.pm 2016-07-25 09:12:20.000000000 +0000
+++ ./dist/PathTools/Cwd.pm 2017-02-28 20:36:10.314765294 +0000
@@ -179,9 +179,8 @@
2015-06-13 01:03:31 +02:00
# so everything works under taint mode.
my $pwd_cmd;
2015-08-31 02:35:01 +02:00
if($^O ne 'MSWin32') {
- foreach my $try ('/bin/pwd',
- '/usr/bin/pwd',
- '/QOpenSys/bin/pwd', # OS/400 PASE.
+ foreach my $try ('@TERMUX_PREFIX@/bin/applets/pwd',
+ '@TERMUX_PREFIX@/bin/pwd'
) {
if( -x $try ) {
$pwd_cmd = $try;