Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 12:54:02 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        "Carlos J. Puga Medina" <cpm@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r436204 - in head/devel/arduino: . files
Message-ID:  <20170315125402.GA39784@FreeBSD.org>
In-Reply-To: <201703150904.v2F94Icf042997@repo.freebsd.org>
References:  <201703150904.v2F94Icf042997@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 15, 2017 at 09:04:18AM +0000, Carlos J. Puga Medina wrote:
> New Revision: 436204
> URL: https://svnweb.freebsd.org/changeset/ports/436204
> 
> Log:
>   - Fix Arduino wrapper to allow loading of sketches from the command line
> 
> Modified: head/devel/arduino/files/arduino.in
> ...
> @@ -5,4 +5,4 @@
>  PATH="%%LINUXBASE%%/usr/bin:${PATH}"
>  export PATH
>  
> -exec %%PREFIX%%/%%PORTNAME%%/arduino %%PREFIX%%/%%PORTNAME%%
> +exec '%%PREFIX%%/%%PORTNAME%%/arduino' $@

This is wrong, man sh(1).

./danfe

P.S.  It should read "$@".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170315125402.GA39784>