mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:09:00 +08:00
[sh] Tweak so only the sh forwarder needs to be +x
This commit is contained in:
parent
8a1bea28fc
commit
c78a609dab
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
vcpkgRootDir=$(X= cd -- "$(dirname -- "$0")" && pwd -P)
|
||||
$vcpkgRootDir/scripts/bootstrap.sh
|
||||
. $vcpkgRootDir/scripts/bootstrap.sh
|
||||
|
2
scripts/bootstrap.sh
Executable file → Normal file
2
scripts/bootstrap.sh
Executable file → Normal file
@ -185,4 +185,4 @@ mkdir -p "$buildDir"
|
||||
(cd "$buildDir" && "$cmakeExe" --build .)
|
||||
|
||||
rm -rf "$vcpkgRootDir/vcpkg"
|
||||
cp "$buildDir/vcpkg" "$vcpkgRootDir/"
|
||||
cp "$buildDir/vcpkg" "$vcpkgRootDir/"
|
||||
|
Loading…
Reference in New Issue
Block a user