diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-21 22:30:37 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-21 22:30:37 +0000 |
commit | c2e04e73168418a95b5d33526ed5596531b401a1 (patch) | |
tree | f38c07e04c1dfc8afd8d473c8f59b959aa8a8ca6 /Configure | |
parent | 976c6ee48986f32570494844292270b22ab093b6 (diff) | |
download | perl-c2e04e73168418a95b5d33526ed5596531b401a1.tar.gz |
AIX has broken builtin 'test'.
p4raw-id: //depot/perl@13181
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Wed Nov 21 19:00:54 EET 2001 [metaconfig 3.0 PL70] +# Generated on Thu Nov 22 01:31:19 EET 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -2267,12 +2267,14 @@ case "$lns" in issymlink="test -h" fi fi - if $test "X$issymlink" = X; then - if $test -h >/dev/null 2>&1; then - issymlink="$test -h" - echo "Your builtin 'test -h' may be broken, I'm using external '$test -h'." >&4 - fi - fi + case "$issymlink" in + "test -h") + if $test -h >/dev/null 2>&1; then + issymlink="/bin/test -h" + echo "Your builtin 'test -h' may be broken, I'm using external '/bin/test -h'." >&4 + fi + ;; + esac if $test "X$issymlink" = X; then if $test -L sym 2>/dev/null; then issymlink="$test -L" |