This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
metaconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71afd85
)
Replace $compile_ok by $compile since it's ok for this probe to fail.
author
Andy Dougherty
<doughera@lafayete.edu>
Wed, 6 Jun 2012 12:55:12 +0000
(08:55 -0400)
committer
Andy Dougherty
<doughera@lafayete.edu>
Wed, 6 Jun 2012 12:55:12 +0000
(08:55 -0400)
On systems where _NSGetExecutablePath is not available, this probe
is expected to fail, so use $compile to throw away the error message.
U/perl/usensgetexecutablepath.U
patch
|
blob
|
blame
|
history
diff --git
a/U/perl/usensgetexecutablepath.U
b/U/perl/usensgetexecutablepath.U
index
f3de31e
..
4eb61de
100644
(file)
--- a/
U/perl/usensgetexecutablepath.U
+++ b/
U/perl/usensgetexecutablepath.U
@@
-99,7
+99,7
@@
EOM
val=$undef
set try
-if eval $compile
_ok
; then
+if eval $compile; then
if $run ./try; then
echo "You can use _NSGetExecutablePath to find the executing program." >&4
val="$define"