[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tclcl snapshot
On Sat, 13 Nov 1999 12:41:49 PST, Yan Yu wrote:
>when I try to make install yesterday's tclcl snapshot, I got the error:
>
>cp libtclcl.a /home/netlab1/yanyu/ns/ns-2/tclcl-1.0b8/lib/libtclcl.a
>test -e /home/netlab1/yanyu/ns/ns-2/tclcl-1.0b8/lib/libTcl.a && rm -f
>/home/netlab1/yanyu/ns/ns-2/tclcl-1.0b8/lib/libTcl.a || true
>sh: test: argument expected
>*** Error code 1 (ignored)
>
>so I change "test -e" to "test -f" in Makefile. Is this what it is
>supposed to mean? ( btw, I could not find "-e" option in "test" manual)
Yes, basically.
(from the Linux man page)
-e file
True if file exists
-f file
True if file exists and is a regular file.
There's no longer any reason to install libTcl, though, so I'll just
remove the code. (Since -e apparently isn't portable.)
-John Heidemann