diff options
author | Geert Bosch <geert@mongodb.com> | 2015-10-29 10:40:09 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2015-10-29 16:21:24 -0400 |
commit | c636d8092e4a31f602cd1cc42534d5365bdf9cf1 (patch) | |
tree | ffdcc1fb70f64af7f97cffa7fc320101233044cc | |
parent | f8f34a4bf9ea564fcd23c7a0c4e2a8283c6860ca (diff) | |
download | mongo-c636d8092e4a31f602cd1cc42534d5365bdf9cf1.tar.gz |
Allow specifying a branch for update-vendor-wiredtiger script
-rwxr-xr-x | buildscripts/update-vendor-wiredtiger | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/update-vendor-wiredtiger b/buildscripts/update-vendor-wiredtiger index 5a5c2497e7b..2a88ec75f9b 100755 --- a/buildscripts/update-vendor-wiredtiger +++ b/buildscripts/update-vendor-wiredtiger @@ -1,12 +1,12 @@ #!/bin/sh # # Updates src/third_party/wiredtiger contents -# from github.com/wiredtiger/wiredtiger branch "develop" +# from github.com/wiredtiger/wiredtiger branch "mongodb-3.2" or the first argument passed # set -o errexit -REMOTEBRANCH="mongodb-3.2" +REMOTEBRANCH="${1:-mongodb-3.2}" LOCALBRANCH=$(git symbolic-ref HEAD) # Ensure working directory is TOPLEVEL/src/third_party |