svn commit: r287635 - in head/release: amd64 i386 pc98 powerpc sparc64
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Sep 11 05:42:03 UTC 2015
On Thu, Sep 10, 2015 at 10:47:27PM +0000, Devin Teske wrote:
> New Revision: 287635
> URL: https://svnweb.freebsd.org/changeset/base/287635
>
> Log:
> Fix argument quoting and remove unnecessary braces
> [...]
>
> if [ $# -lt 3 ]; then
> - echo Usage: $0 '[-b] image-label image-name base-bits-dir [extra-bits-dir]'
> + echo "Usage: $0 [-b] image-label image-name base-bits-dir [extra-bits-dir]"
usage() output typically should be sent to stderr, i.e."
echo "usage: $0 bla-bla-bla" >&2
(this bug exists in all those scripts).
./danfe
More information about the svn-src-all
mailing list