mirror of
https://github.com/urbit/shrub.git
synced 2025-01-02 01:25:55 +03:00
compat: mingw: fix dependency patch path
This commit is contained in:
parent
c6121f3c01
commit
e7ac8c0c2a
@ -79,16 +79,16 @@ buildnixdep () {
|
||||
fi
|
||||
|
||||
# patch and build the dependency if necessary
|
||||
pushd $dir
|
||||
if [ ! -e .mingw~ ]
|
||||
if [ ! -e $dir/.mingw~ ]
|
||||
then
|
||||
local patch=../urbit/compat/mingw/$key.patch
|
||||
[ -e $patch ] && patch -p 1 <$patch
|
||||
local patch=compat/mingw/$key.patch
|
||||
[ -e $patch ] && patch -d $dir -p 1 <$patch
|
||||
pushd $dir
|
||||
eval "$cmdprep"
|
||||
eval make "$cmdmake"
|
||||
touch .mingw~
|
||||
popd
|
||||
fi
|
||||
popd
|
||||
|
||||
# if configured, upload freshly built dependency to binary cache
|
||||
if [ -n "$hash" -a -n "${CACHIX_AUTH_TOKEN-}" ]
|
||||
|
Loading…
Reference in New Issue
Block a user