rbbt-util 5.37.11 → 5.37.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/share/install/software/lib/install_helpers +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b5d55f013edfb339009123913d28f6f97d2995af61ab3ab8134fb4e359574dd
|
4
|
+
data.tar.gz: 39296a8f007e7533ac58c290b529f1f1fba94885d0b210bd238cb9922dbed5b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -28,14 +27,13 @@ else
|
|
28
27
|
done
|
29
28
|
REALPATH="$PWD/$(basename "$1")"
|
30
29
|
cd "$OURPWD"
|
31
|
-
echo "$REALPATH" >&2
|
32
30
|
echo "$REALPATH"
|
33
31
|
}
|
34
32
|
|
35
33
|
function relative_path(){
|
36
34
|
local basedir="$(realpath $1)"
|
37
35
|
local path="$(realpath "$2")"
|
38
|
-
echo ${path/$(dirname $basedir)
|
36
|
+
echo ${path/$(dirname $basedir)/..}
|
39
37
|
}
|
40
38
|
fi
|
41
39
|
|