bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ./check-guile: test: argument expected


From: Gary Houston
Subject: Re: ./check-guile: test: argument expected
Date: 25 Mar 2001 13:16:23 -0000

> From: Alexander Klimov <address@hidden>
> Date: Sun, 25 Mar 2001 12:50:33 +0200 (IST)
> 
> Hi.
> 
> According to `man test' on Solaris 2.6 there is no `-e' primitive for sh,
> but only for ksh. It also exists in bash.
> 
> There is an error in check-guile:36
> 
> if [ ! -e guile-procedures.txt ]; then
>       ^^^
> which produces the error message shown in subject. The line should be
> substituted with 
> if [ ! -f guile-procedures.txt ]; then

Thanks.  I don't think -f is right, since it's testing a symbolic link.
I don't know if test -L is portable.  Maybe test -r would be best.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]