Commit Graph

7 Commits

Author SHA1 Message Date
Alan Somers
d1cbb90daa scripts: fix bash path in shebangs (part 2)
/bin/bash is a Linuxism.  Other operating systems install bash to
different paths.  Use /usr/bin/env in shebangs to find bash.

Signed-off-by: Alan Somers <asomers@gmail.com>
2017-09-25 17:20:40 -06:00
Dan Mick
6cc659feea git-archive-all.sh: use an actually unique tmp dir
git archive into $TMPDIR/$(basename "$(pwd)").$FORMAT is not unique;
if two runs are running simultaneously, this will collide.  Make
TMPDIR actually unique, and then the cleanup can just remove the whole
directory as well.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-11-15 19:45:02 -08:00
Sage Weil
31e93908c9 make_dist.sh: rename from bin/make_dist_tarball.sh
Signed-off-by: Sage Weil <sage@redhat.com>
2015-05-31 17:58:49 -04:00
Sage Weil
f3fe18a60c make_dist_tarball.sh: make gz and bz2 archives
Signed-off-by: Sage Weil <sage@redhat.com>
2015-05-31 17:57:41 -04:00
Sage Weil
e8cc7a86cc bin/make_dist_tarball.sh
This includes all submodules *except* ceph-object-corpus and
ceph-erasure-code-corpus.

This is a bit different that autotools' version:

 - compiled man pages
 - some autotools cruft
 - src/.git_version
 - compiled *.in files
 + .git*
 + CMake stuff
 + copyright files
 + readme files
 + cmake/
 + debian/
 + doc/
 + keys/
 + qa/
 + systemd/
 + tons of other stuff we should probably have included

All in all, I think it's much more complete.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-05-29 21:29:48 -04:00
Sage Weil
8bd27b61cb bin/git-all-archive.sh: add --ignore option
Signed-off-by: Sage Weil <sage@redhat.com>
2015-05-29 21:22:52 -04:00
Sage Weil
94b6661d99 bin/git-archive-all.sh
Thank you, internet: https://github.com/meitar/git-archive-all.sh

Signed-off-by: Sage Weil <sage@redhat.com>
2015-05-29 21:05:14 -04:00