Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 May 2008 17:04:51 +0200
From:      Jille <jille@quis.cx>
To:        Mathieu Prevot <mathieu.prevot@gmail.com>
Cc:        hackers@freebsd.org
Subject:   Re: binary file within a shell script
Message-ID:  <48231693.10805@quis.cx>
In-Reply-To: <3e473cc60805080659h721db611s886b80d213f9a2f3@mail.gmail.com>
References:  <3e473cc60805080659h721db611s886b80d213f9a2f3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It's not exactly what you are looking for:
But you could take a look at shar(1).
I don't even know for sure whether it can archive binaries.
shar gives you a shellscript, to which you could prefix your own script,
and when you run it, it'll extract the incorporated file, and you can
exec it :)

-- Jille
(Resend from right email-adres)

Mathieu Prevot wrote:
> Hi there,
>
> I would like to use one exec file from a shellscript but I would like
> it to be incorporated in the same file, like Nvidia do for its FreeBSD
> drivers. How can I do this in a convenient way ?
>
> Mathieu
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>   




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