Commit Graph
15 Commits
Author SHA1 Message Date
Ali Abbas c1ec392bdd - Double quoting to avoid globbing
- Remove unecessary $(cat)
- switch * to ./* to avoid entries with dashes to be treated as options
- replace $* with "$@"
- repeating change path serial calls - unecessary if change path is called one (get script)
2014-04-12 15:56:54 +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 33c8fb5a38 Merge branch 'master' of https://github.com/moovweb/gvm 2012-03-28 11:01:18 -07:00
Joshua Bussdieker f57677b96a List go1 versions in gvm listall 2012-03-28 11:00:37 -07:00
Joshua Bussdieker 37e9eef1f0 More logger like 2012-03-27 22:45:03 -07:00
Joshua Bussdieker 00ca5e9ce1 Get the clean path to common posix tools used by GVM 2012-03-24 04:57:24 -07:00
Joshua Bussdieker c335d8bd2b Better listall function 2012-02-29 13:44:56 -08:00
Joshua Bussdieker 178e1aaafd Indent listall 2012-02-29 13:25:43 -08:00
Joshua Bussdieker db46a27870 Use color for listall 2012-02-29 13:25:29 -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 8719621541 Use error handling function 2012-02-18 15:14:45 -08:00
Joshua Bussdieker 977483bead Use new scripts layout 2012-01-31 20:49:16 -08:00
Joshua Bussdieker f757d8307b Drop prefix 2012-01-31 20:27:49 -08:00