mirror of https://github.com/BOINC/boinc.git
Fix: vcpkg will clone from $VCPKG_LINK
This commit is contained in:
parent
8494e832e6
commit
924b85c1a8
|
@ -8,12 +8,13 @@ if [ ! -d "$PLATFORM_NAME" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
. $PWD/3rdParty/vcpkg_ports/vcpkg_link.sh
|
||||
BUILD_DIR="$PWD/3rdParty/$PLATFORM_NAME"
|
||||
VCPKG_ROOT="$BUILD_DIR/vcpkg"
|
||||
|
||||
if [ ! -d $VCPKG_ROOT ]; then
|
||||
mkdir -p $BUILD_DIR
|
||||
git -C $BUILD_DIR clone https://github.com/microsoft/vcpkg
|
||||
git -C $BUILD_DIR clone $VCPKG_LINK
|
||||
fi
|
||||
|
||||
git -C $VCPKG_ROOT pull
|
||||
|
|
|
@ -6,14 +6,14 @@ if [ ! -d "wasm" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
. $PWD/3rdParty/vcpkg_ports/vcpkg_link.sh
|
||||
BUILD_DIR="$PWD/3rdParty/wasm"
|
||||
VCPKG_PORTS="$PWD/3rdParty/vcpkg_ports"
|
||||
VCPKG_ROOT="$BUILD_DIR/vcpkg"
|
||||
|
||||
if [ ! -d $VCPKG_ROOT ]; then
|
||||
mkdir -p $BUILD_DIR
|
||||
git -C $BUILD_DIR clone https://github.com/microsoft/vcpkg
|
||||
git -C $BUILD_DIR clone $VCPKG_LINK
|
||||
fi
|
||||
|
||||
git -C $VCPKG_ROOT pull
|
||||
|
|
Loading…
Reference in New Issue