tags 459100 - unreproducible tags 459100 + patch thanks Hi Ben,
Sorry for the late reply. On 06/01/08 at 19:57 +0000, Ben Hutchings wrote: > tags 459100 unreproducible > thanks > > What is the bashism? Is it the use of "&>" here? > > if mysql -h localhost test </dev/null &>/dev/null; then $(MAKE) test; fi yes. You should use >/dev/null 2>&1. With &>/dev/null, dash seems to fork a sub-process: \h:\w$ mysql -h localhost test </dev/null &>/dev/null \h:\w$ ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [1] + Done(1) mysql -h localhost test 0</dev/null \h:\w$ > When I tried building with SHELL=/bin/dash the mysql command failed and > the build succeeded as expected. Perhaps this line should be removed > anyway, though. For me, it fails with SHELL=/bin/dash. -- | Lucas Nussbaum | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ | | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]