12 Commits
Author SHA1 Message Date
Ali Abbas 7d722aee3f * Switch $* to $@
* Use double quote everywhere, to avoid potential future globbing or word splitting
* Beautify EDITOR eval
* Fix typo in gvm-installer
* bin double quotes - best practice to avoid potential shell globbing and word splitting
* properly reference variable label
* simplify gvm-installer
2014-04-05 10:13:57 +02:00
Matt T. Proud 4e117a3ab8 Provide support for FreeBSD.
FreeBSD does not by default install the Bourne-Again Shell (bash); and
when it is installed, it is most certainly not installed to
``/bin/bash`` due to the nuances of the conventions around local site
packages.  Rather, it is installed to ``/usr/local/bin/bash``.

Golang explicitly supports FreeBSD, so it should only be reasonable for
GVM to support this target, too.  As a fix, the shell script shebang
definitions now use the ``env`` tool that comes from the _coreutils_
standard package, which is installed on all conventions-adhering Linux
distributions, Mac OS X, and FreeBSD.

FreeBSD prerequisites are now listed in the documentation.

I have tested this against FreeBSD 9.0 release branch on the amd64,
and it works satisfactorily now.
2012-11-18 20:10:59 +01:00
Joshua Bussdieker 0cc983dec8 Fix error and dependency checking 2012-03-28 22:03:40 -07:00
Joshua Bussdieker a9640b0bbc Better error messages 2012-03-20 03:16:32 -07:00
Joshua Bussdieker 4933d13418 Fix tabs. Can now gvm pkgset use blah --default 2012-03-04 17:34:37 -08:00
Joshua Bussdieker 569811ddfc Functions! 2012-02-28 21:55:24 -08:00
Joshua Bussdieker add7f55028 Dry up code 2012-02-18 15:58:34 -08:00
Joshua Bussdieker 9f05842f7a Print errors to stderr 2012-02-18 15:15:11 -08:00
Joshua Bussdieker 2c3c173f2a Cleaner gvm-check 2012-02-02 04:07:17 -08:00
Joshua Bussdieker 5a1e96411e Moved to gvm function 2012-02-01 20:43:49 -08:00
Joshua Bussdieker b0965e58e5 Make sure env folder exists 2012-02-01 19:25:24 -08:00
Joshua Bussdieker 45479afde9 Move scripts out of path 2012-01-31 20:21:48 -08:00