[Top][All Lists]

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

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

From: Marius Vollmer
Subject: Re: ./check-guile: test: argument expected
Date: 25 Mar 2001 15:47:40 +0200
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

Alexander Klimov <address@hidden> writes:

> 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

The problem with -f is that it checks for a regular file, while
guile-procedures.txt will be a symlink when it exists.  Would

  if [ ! -f guile-procedures.txt -a ! -h guile-procedures.txt ]; then


reply via email to

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