configure --prefix with "~"

Ruslan Ermilov ru at nginx.com
Thu Apr 11 12:19:55 UTC 2013


On Wed, Apr 10, 2013 at 11:47:24PM -0400, mengqy wrote:
> nginx 1.3.15, ubuntu 12.04, bash:
> 
> $ ./configure --prefix=~/tools/webserver/install ...
> $ make && make install
> 
> --> a dir named '~' is created within current dir, but `~` should be
> interpreted as `$HOME` instead, right?
> 
> Thanks to the protection from gvfs, `rm -rf ~` did not cause a disaster (it
> should be `rm -rf \~`)

`~' is interpreted by your shell.  Normally shell interprets it
as "tilde prefix" only at the beginning of a word.



More information about the nginx mailing list