This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix for missing realpath on macOS
Signed-off-by: falkTX <falktx@falktx.com>
pull/452/head
falkTX
1 year ago
parent
abe1d077a0
commit
fb0e7bff26
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
2 changed files
with
8 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
utils/generate-ttl.sh
+7
-0
utils/package-osx-bundles.sh
+ 1
- 1
utils/generate-ttl.sh
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# function not available on some systems
#
the realpath
function
is
not available on some systems
if ! which realpath &>/dev/null; then
function realpath() {
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
+ 7
- 0
utils/package-osx-bundles.sh
View File
@@ -1,5 +1,12 @@
#!/bin/bash
# the realpath function is not available on some systems
if ! which realpath &>/dev/null; then
function realpath() {
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
}
fi
set -e
DPF_UTILS_DIR="$(dirname $(realpath ${0}))"
Write
Preview
Loading…
Cancel
Save