Re: [sec-notice PATCH 2/2] scripts: require bash for bashisms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 22, 2014 at 06:41:43AM -0700, Eric Blake wrote:
> On 01/22/2014 03:37 AM, Daniel P. Berrange wrote:
> > On Tue, Jan 21, 2014 at 11:37:16AM -0700, Eric Blake wrote:
> >> Use of ${BASH_SOURCE[0]} is a syntax error in dash.
> >> Use of `` is pointless when we know we are in bash.
> >>
> >> * scripts/lsn2text: Make more robust.
> >> * scripts/lsn2html: Likewise.
> >> * scripts/lsn2indexhtml: Likewise.
> >> * scripts/lsn2index: Likewise.
> >>
> >> Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
> >> ---
> >>  scripts/lsn2html      | 4 ++--
> >>  scripts/lsn2index     | 4 ++--
> >>  scripts/lsn2indexhtml | 4 ++--
> >>  scripts/lsn2text      | 4 ++--
> >>  4 files changed, 8 insertions(+), 8 deletions(-)
> > 
> > ACK, unless there's a better way to write it in general
> > shell without $BASE_SOURCE ?
> 
> Probably possible; I was just going with the path of least resistance.
> If you want me to respin this to be portable to dash, I can spend the
> time on that.

I don't mind either way - upto you if you want to spend time on it :-)

> Also, I noticed that the web pages at http://security.libvirt.org don't
> seem to be regenerated, even though it's been more than an hour since I
> pushed - are we missing a cron job somewhere, in relation to the claim
> made in the README?

I don't see your changes in the public git repo actually.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]