Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab

Mirrored from https://github.com/zaquestion/lab.git.
Updated .

  • Eric Engestrom's avatar
    install.sh script fixes (#263) · 396a7c2a
    Eric Engestrom authored
    * install.sh: allow user to customize install location
    
    Fixes #262
    
    * install.sh: verify that the install location can be used
    
    * install.sh: don't invoke sudo if it isn't needed
    
    * install.sh: make sure `lab` is executable
    
    If /tmp is mounted with the noexec option, the execution bit is dropped.
    Let's make sure to add it back in the install script.
    
    * install.sh: error out if an unset variable is used
    
    * install.sh: error out if part of a pipe chain fails
    
    * install.sh: allow exact location of binary to be specified
    
    By passing it as the first argument to the script.
    
    Not that the argument overrides the environment, in case both are set.
    
    * install.sh: replace `cp+chmod` with `install`
    396a7c2a
Name
Last commit
Last update
cmd Loading commit data...
docs Loading commit data...
internal Loading commit data...
testdata Loading commit data...
.codecov.yml Loading commit data...
.gitignore Loading commit data...
.goreleaser.yml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
install.sh Loading commit data...
main.go Loading commit data...
main_test.go Loading commit data...