rbbt-util 5.37.10 → 5.37.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc8b61827acb2382ac7f9687a313d60f3afbde9e623fd72231ae44420c2b4f12
4
- data.tar.gz: '008dc487c54becd9c6ce6273a17033db5122d34b055ceddd71e771de38269b4e'
3
+ metadata.gz: 6b5d55f013edfb339009123913d28f6f97d2995af61ab3ab8134fb4e359574dd
4
+ data.tar.gz: 39296a8f007e7533ac58c290b529f1f1fba94885d0b210bd238cb9922dbed5b6
5
5
  SHA512:
6
- metadata.gz: cf9043f9c1f9dab24382c77d89e8f6d0e81a888b969c2f14c19b9d8671b1bef126c425a1579cc2ef310ca911ba2e6bfbf1bc52ee9044005e4f5007068ac140d6
7
- data.tar.gz: 711fbd84efb642b0e4dd55a7da7b3e493f9e001908ef34eb0d4ddf892853ac7b6d7e688c559502c0f2ac34962258fff16eb7d21b6e4d2232b792286d3c61fe6a
6
+ metadata.gz: 9eb9e53e9b88007315f9c693068f6153dc4a1554f8ee905677928ade7872393359903179942cdcaa907dabcd13bd72229b3ab38f74965ebe7bafa2638f5508d4
7
+ data.tar.gz: 2c2a0371d69d124aba4c5c941a8adc9d150236dff1d0ad292e71fb743edfd4152b371f4f5b93611c129f726b4236717d8bfb9291baee892290105af380663fae
@@ -19,7 +19,6 @@ if command -v realpath > /dev/null; then
19
19
  else
20
20
  realpath(){
21
21
  OURPWD=$PWD
22
- echo "REALPATH $@" >&2
23
22
  cd "$(dirname "$1")"
24
23
  LINK=$(readlink "$(basename "$1")")
25
24
  while [ "$LINK" ]; do
@@ -34,7 +33,7 @@ else
34
33
  function relative_path(){
35
34
  local basedir="$(realpath $1)"
36
35
  local path="$(realpath "$2")"
37
- echo ${path/$basedir\/}
36
+ echo ${path/$(dirname $basedir)/..}
38
37
  }
39
38
  fi
40
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.37.10
4
+ version: 5.37.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez