20 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
Dan Buch 033c72a113 Seeing if this makes the experience with $PATH more like I'd expect 2013-06-12 08:50:10 -04: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
Manoj Dayaram b0ffc5c3c5 Making version var local so as to not conflict with any global version vars when executing gvm use 2012-09-20 15:08:18 -07:00
Joshua Bussdieker 0eb9feb2aa Better error output when trying to 'gvm use' a version that
isn't installed. Fixes issue #15
2012-07-18 12:28:58 -07:00
Joshua Bussdieker 54df5d9ccd display_error no longer exits so it's safe to use when running
in the source environment. Also catch tool errors in the gvm script
and function.
2012-03-27 22:48:02 -07:00
Joshua Bussdieker 895f00603b Revert "provide cleaner output where tput doesn't exist"
This reverts commit a3bd04c4c9.
2012-03-25 10:32:30 -07:00
Clinton Sheppard a3bd04c4c9 provide cleaner output where tput doesn't exist
e.g. msysgit - Git for Windows
2012-03-25 08:48:24 -05: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 3a5813784e Find the system ls command and use it to fix issue #6 2012-03-22 22:09:05 -07:00
Joshua Bussdieker 4933d13418 Fix tabs. Can now gvm pkgset use blah --default 2012-03-04 17:34:37 -08:00
Joshua Bussdieker 1ad33a27b7 Fix path bug 2012-03-01 22:43:48 -08:00
Joshua Bussdieker b78b083fea Fuzzy match fix 2012-02-29 20:02:44 -08:00
Joshua Bussdieker 991cc52dec Color the use 2012-02-29 13:45:13 -08:00
Joshua Bussdieker 09f4d6688d Fix gvm use bug when using fuzzy match. 2012-02-28 18:59:08 -08:00
Joshua Bussdieker ad6c550946 Print errors to stderr 2012-02-18 15:16:56 -08:00
Joshua Bussdieker 0468a3cdef More env fixes 2012-02-01 17:20:15 -08:00
Joshua Bussdieker e5b9b8a89b Unused error handling 2012-01-31 22:26:47 -08:00
Joshua Bussdieker f2a296c740 More environment changes 2012-01-31 22:26:04 -08:00
Joshua Bussdieker 4e0cf27e22 Use enviroments 2012-01-31 21:49:16 -08:00