readlink -f would be better. thanks osx.
This commit is contained in:
parent
c06753cd20
commit
362ab2b2e6
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
|
||||
#root_dir="$(readlink -f "$(dirname "$0")")/.."
|
||||
cd "$root_dir"
|
||||
os_dir=$(./platform/os.sh osdir)
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
|
||||
#root_dir="$(readlink -f "$(dirname "$0")")/.."
|
||||
cd "$root_dir"
|
||||
dir=$(test -n "$1" && echo "$1" || echo "${HOME}/bitcoin")
|
||||
patch_file="$(pwd)/bitcoin.patch"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user