tvd-tvdinner 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.13
1
+ 0.0.14
@@ -10,15 +10,6 @@ if [[ -z "${shome:-}" ]]; then
10
10
  shome="$(unset CDPATH; cd -P -- "$(dirname -- "${BASH_SOURCE}")/.." && pwd -P)"
11
11
  fi
12
12
 
13
- function get_started {
14
- # if getting-started bootstrap is detected, put this in the path
15
- # mainly useful for getopt on os x
16
- if [[ -d "$HOME/.getting-started/bootstrap" ]]; then
17
- PATH="$HOME/.getting-started/bootstrap:$PATH"
18
- hash -r
19
- fi
20
- }
21
-
22
13
  function check_help {
23
14
  # taken from shocco
24
15
  if expr -- "$*" : ".*--help" >/dev/null; then
@@ -30,9 +30,10 @@ function sub {
30
30
 
31
31
  if [[ "$#" > 0 ]]; then
32
32
  if [[ ! "$1" =~ ^- ]]; then
33
- local sub_cmd="$(command -v "${sub_base}-$1" || true)"
33
+ local sub_cmd="$shome/libexec/${sub_base}-$1"
34
+
34
35
  if [[ ! -x "$sub_cmd" ]]; then
35
- sub_cmd="$shome/libexec/${sub_base}-$1"
36
+ sub_cmd="$(type -P "${sub_base}-$1" || true)"
36
37
  fi
37
38
 
38
39
  if [[ -x "$sub_cmd" ]]; then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvd-tvdinner
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 13
10
- version: 0.0.13
9
+ - 14
10
+ version: 0.0.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Bombadil