Browse Source
Mute which output in generate-ttl.sh (#292)
* Mute which output in generate-ttl.sh
* Rework bf156dd
in a more efficient way
pull/293/head
lucianoiam
GitHub
3 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
utils/generate-ttl.sh
|
|
@@ -1,7 +1,7 @@ |
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
# function not available on some systems |
|
|
|
if ! which realpath 2>/dev/null; then |
|
|
|
if ! which realpath &>/dev/null; then |
|
|
|
function realpath() { |
|
|
|
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" |
|
|
|
} |
|
|
|