aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-04-26 02:11:04 +0000
committerAlexander Karatarakis <alkarata@microsoft.com>2018-04-26 02:11:04 +0000
commitc78a609dabb0df43d0443452261f7c3b592b9b41 (patch)
tree7c489fbd1f856d862c486d5551fe6bbeb27c1301
parent8a1bea28fc6cdf158dfa40ee8679c6603aa940ec (diff)
downloadvcpkg-c78a609dabb0df43d0443452261f7c3b592b9b41.tar.gz
vcpkg-c78a609dabb0df43d0443452261f7c3b592b9b41.zip
[sh] Tweak so only the sh forwarder needs to be +x
-rwxr-xr-xbootstrap-vcpkg.sh2
-rw-r--r--[-rwxr-xr-x]scripts/bootstrap.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap-vcpkg.sh b/bootstrap-vcpkg.sh
index 92e65dc6c..b77b74890 100755
--- a/bootstrap-vcpkg.sh
+++ b/bootstrap-vcpkg.sh
@@ -1,4 +1,4 @@
#!/bin/sh
vcpkgRootDir=$(X= cd -- "$(dirname -- "$0")" && pwd -P)
-$vcpkgRootDir/scripts/bootstrap.sh
+. $vcpkgRootDir/scripts/bootstrap.sh
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 66efb1d62..c69dc0135 100755..100644
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -185,4 +185,4 @@ mkdir -p "$buildDir"
(cd "$buildDir" && "$cmakeExe" --build .)
rm -rf "$vcpkgRootDir/vcpkg"
-cp "$buildDir/vcpkg" "$vcpkgRootDir/" \ No newline at end of file
+cp "$buildDir/vcpkg" "$vcpkgRootDir/"