diff --git a/_assets/patches/patcher b/_assets/patches/patcher index b9fa301e9..e4ae29967 100755 --- a/_assets/patches/patcher +++ b/_assets/patches/patcher @@ -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.