mirror of
https://github.com/hectorm/hblock.git
synced 2026-04-22 06:56:36 +05:30
Removed readlink usage
This commit is contained in:
parent
032ddd2043
commit
aa1b0339d3
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
set -eu
|
||||
export LC_ALL='C'
|
||||
|
||||
SCRIPT_DIR="$(dirname "$(readlink -f "${0:?}")")"
|
||||
SCRIPT_DIR="$(CDPATH='' cd -- "$(dirname -- "${0:?}")" && pwd -P)"
|
||||
TARGET_DIR="${SCRIPT_DIR:?}/bitmaps/"
|
||||
|
||||
main() {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
set -eu
|
||||
export LC_ALL='C'
|
||||
|
||||
SCRIPT_DIR="$(dirname "$(readlink -f "${0:?}")")"
|
||||
SCRIPT_DIR="$(CDPATH='' cd -- "$(dirname -- "${0:?}")" && pwd -P)"
|
||||
PROJECT_DIR="${SCRIPT_DIR:?}/../../"
|
||||
|
||||
# Check if a program exists.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue