Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XlEbT-0007ki-Sz for bitcoin-development@lists.sourceforge.net; Mon, 03 Nov 2014 10:11:15 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.213.170 as permitted sender) client-ip=209.85.213.170; envelope-from=laanwj@gmail.com; helo=mail-ig0-f170.google.com; Received: from mail-ig0-f170.google.com ([209.85.213.170]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1XlEbS-00020C-M9 for bitcoin-development@lists.sourceforge.net; Mon, 03 Nov 2014 10:11:15 +0000 Received: by mail-ig0-f170.google.com with SMTP id h15so4264056igd.3 for ; Mon, 03 Nov 2014 02:11:09 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.50.110.65 with SMTP id hy1mr15445404igb.13.1415009469346; Mon, 03 Nov 2014 02:11:09 -0800 (PST) Received: by 10.64.249.170 with HTTP; Mon, 3 Nov 2014 02:11:09 -0800 (PST) In-Reply-To: <545747E7.6030403@numlog.fr> References: <545747E7.6030403@numlog.fr> Date: Mon, 3 Nov 2014 11:11:09 +0100 Message-ID: From: Wladimir To: Francis GASCHET Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (laanwj[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1XlEbS-00020C-M9 Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Bug in genbuild.sh ? X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2014 10:11:16 -0000 On Mon, Nov 3, 2014 at 10:16 AM, Francis GASCHET wrote: > Hello, > > I just compiled bitCoin core on Debian 7. > I got an error message "too many arguments" when executing genuid.sh > I fixed it as shown hereafter and it worked fine. > > > pcfg:~/bitcoinCore> diff -u shareOLD/genbuild.sh share/genbuild.sh > --- shareOLD/genbuild.sh 2014-11-03 08:32:08.950708258 +0100 > +++ share/genbuild.sh 2014-11-03 08:38:44.626698114 +0100 > @@ -16,7 +16,7 @@ > DESC="" > SUFFIX="" > LAST_COMMIT_DATE="" > -if [ -e "$(which git 2>/dev/null)" -a $(git rev-parse > --is-inside-work-tree 2>/dev/null) = "true" ]; then > +if [ -e "$(which git 2>/dev/null)" -a "$(git rev-parse > --is-inside-work-tree 2>/dev/null)" = "true" ]; then > # clean 'dirty' status of touched files that haven't been modified > git diff >/dev/null 2>/dev/null ACK FYI there's an issue for this on github: https://github.com/bitcoin/bitcoin/pull/5141 , but Rebroad's solution contains a new error. Will merge your patch. Wladimir