11 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
COLDTURNIP f3a0ec1274 Allow managing pkgset under local folder.
While replacing pakcageset name with "--local", the packageset
information will be managed under some/local/repo/.gvm_local folder, and
add the root path of repository as the first path in GOPATH and PATH.
This makes the repository more portable since we don't store all the
go-installed package files under $HOME/.gvm .

The repository root path for gvm is definded as $PWD while
"pkgset create --local" . When "pkgset list" under some configured local
repository, it will list the root path as the first packageset, and
marked with "L".
2013-02-11 02:19:00 +08: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 30e0fc52df Make zsh compatible 2012-03-23 10:11:51 -07:00
Joshua Bussdieker e02f21ed01 Fix pkgset list bug 2012-03-07 01:38:54 -08:00
Joshua Bussdieker 9e1c0b67de Use message function 2012-03-04 17:28:47 -08:00
Joshua Bussdieker 1b65e28b1c These are all now handled in the parent function call 2012-02-01 20:44:50 -08:00
Joshua Bussdieker d9ae8960b7 Fix pkg set list 2012-01-31 22:45:18 -08:00
Joshua Bussdieker f2a296c740 More environment changes 2012-01-31 22:26:04 -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