Make patcher apply the patches from the folder relative to the script itself

This commit is contained in:
Pedro Pombeiro 2018-02-09 18:40:45 +01:00
parent 6526bace85
commit 51f1434a77
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
#
# If -p is not present, default path is as below ($basepath).
patches=($(pwd)/_assets/patches/geth/*.patch)
patches=($( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/geth/*.patch)
# Base path is vendor/github.com/ethereum/go-ethereum
# unless specified.