rbbt-util 5.37.11 → 5.37.13
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 +2 -4
- 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: e76095e04cadd3c15ce7ec185d11748f2e4d3ed8dd806f943b1383fdfb46aa5d
|
4
|
+
data.tar.gz: a73aae56ff7b6cf3272ef79ae89eb7a106fcb427e3c4fca1459d050730b004e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f387a6477d88852da5d7a9390bae568245997199f468ba63cfad4ecc1bffe8d39c895f1ca1d82a45cc7aab73558faba325bcf2f4c25fbb1d3ce3eaca291876eb
|
7
|
+
data.tar.gz: 58715dd20beb356c4f0177cc3fa6da3794a6b620cc4de87cf3d108b2203c90320b10d48f80d302e5e59e8e29c10f1d36eff22ec05935c9cef8aac27ea05899c6
|
@@ -10,7 +10,7 @@ OPT_BUILD_DIR="$SOFTWARE_DIR/.build"; [ -d $OPT_BUILD_DIR ] || mkdir -p $OPT_BUI
|
|
10
10
|
|
11
11
|
mkdir -p "$OPT_BUILD_DIR"
|
12
12
|
|
13
|
-
if
|
13
|
+
if realpath --help | grep realative > /dev/null; then
|
14
14
|
function relative_path(){
|
15
15
|
local basedir=$1
|
16
16
|
local path=$2
|
@@ -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
|
|