diff options
author | Clarisse Cheah <clarisse.cheah@mongodb.com> | 2022-11-03 04:37:49 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-03 05:18:48 +0000 |
commit | 30750d1877020e7ce47fc103fe4e9eb9ec80f38c (patch) | |
tree | 8c76ee7d36c6e95989b0b40f2a179530dec5bd80 /src/third_party/wiredtiger/dist/s_release | |
parent | b2cedbd538c9191566dfc429f600b2dd8c36f972 (diff) | |
download | mongo-30750d1877020e7ce47fc103fe4e9eb9ec80f38c.tar.gz |
Import wiredtiger: df5a0886739b55f767bf8f7b722adbc31f106826 from branch mongodb-master
ref: 11968677a2..df5a088673
for: 6.2.0-rc0
WT-10021 Remove directory exclusions for release packages
Diffstat (limited to 'src/third_party/wiredtiger/dist/s_release')
-rwxr-xr-x | src/third_party/wiredtiger/dist/s_release | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/third_party/wiredtiger/dist/s_release b/src/third_party/wiredtiger/dist/s_release index f6d541dae40..b4dfb273c97 100755 --- a/src/third_party/wiredtiger/dist/s_release +++ b/src/third_party/wiredtiger/dist/s_release @@ -16,16 +16,12 @@ PKG="wiredtiger-$pkgver" DEST="$RELEASE_DIR/$PKG" rm -rf $DEST ; mkdir -p $DEST -EXCLUSIONS=`sed -e '/^#/d' -e 's/^/--exclude /' < s_release.list` -if [ -d ../.hg ] ; then - echo "Running 'hg archive' to copy the tree" - (cd .. && hg archive $EXCLUSIONS $DEST) -elif [ -d ../.git ] ; then +if [ -d ../.git ] ; then echo "Running 'git archive' to copy the tree" - (cd .. && git archive HEAD) | (cd $DEST && tar xf - $EXCLUSIONS) + (cd .. && git archive HEAD) | (cd $DEST && tar xf -) else - echo "$0 must be run in a Git or Mercurial tree" + echo "$0 must be run in a Git tree" exit 1 fi |