Nmap Development mailing list archives
Re: is it a bug?
From: Daniel Roethlisberger <daniel () roe ch>
Date: Wed, 4 Mar 2009 15:40:01 +0100
David Fifield <david () bamsoftware com> 2009-03-04:
On Wed, Mar 04, 2009 at 03:02:54PM +0800, wangyj wrote:i do this sh configure (it's ok) make (it's ok too) make install running install_data if [ ! -e /usr/local/bin/nmapfe -o -L /usr/local/bin/nmapfe ]; then \ ln -sf zenmap /usr/local/bin/nmapfe; \ fi /bin/sh: test: unknow operation /usr/local/bin/nmapfe make: *** [install-zenmap] Error 1What operating system is this on? I guess the [ line isn't portable. If you tell us the OS we can look up the man page and rewrite the test.
Solaris /bin/sh does not have test -e (as opposed to /usr/xpg4/bin/sh, which does). In this context, I think -f instead of -e should preserve the behaviour and be more portable. -- Daniel Roethlisberger http://daniel.roe.ch/ _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- is it a bug? wangyj (Mar 03)
- Re: is it a bug? David Fifield (Mar 04)
- Re: is it a bug? Daniel Roethlisberger (Mar 04)
- Re: is it a bug? David Fifield (Mar 04)
- [PATCH] Re: is it a bug? Daniel Roethlisberger (Mar 04)
- Re: [PATCH] Re: is it a bug? David Fifield (Mar 04)
- Re: is it a bug? Daniel Roethlisberger (Mar 04)
- Re: is it a bug? David Fifield (Mar 04)
