[icinga-checkins] icinga.org: icinga-core/next: fix tarball creation script - we don' t need submodules anyways
git at icinga.org
git at icinga.org
Thu Oct 11 18:57:58 CEST 2012
Module: icinga-core
Branch: next
Commit: b48f00703fc501eea46f5fffdfca0049ec18078e
URL: https://git.icinga.org/?p=icinga-core.git;a=commit;h=b48f00703fc501eea46f5fffdfca0049ec18078e
Author: Michael Friedrich <michael.friedrich at gmail.com>
Date: Thu Oct 11 18:57:31 2012 +0200
fix tarball creation script - we don't need submodules anyways
---
make-tarball | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/make-tarball b/make-tarball
index b33e554..e30ed50 100755
--- a/make-tarball
+++ b/make-tarball
@@ -106,11 +106,6 @@ while test $# -gt 0; do
version
exit
;;
- --tag )
- shift
- TREEISH="$1"
- shift
- ;;
-? | --usage | --help )
usage
@@ -149,8 +144,8 @@ git archive --format=$FORMAT --prefix="$PREFIX" $TREEISH > $TMPDIR/$(basename $(
echo $TMPDIR/$(basename $(pwd)).$FORMAT >| $TMPFILE # clobber on purpose
superfile=`head -n 1 $TMPFILE`
-# find all '.git' dirs, these show us the remaining to-be-archived dirs
-find . -name '.git' -type d -print | sed -e 's/^\.\///' -e 's/\.git$//' | grep -v '^$' >> $TOARCHIVE
+# DEACTIVATED: We do not have any exportable sub repositories
+# find . -name '.git' -type d -print | sed -e 's/^\.\///' -e 's/\.git$//' | grep -v '^$' >> $TOARCHIVE
while read path; do
TREEISH=$(git submodule | grep "^ .*${path%/}" | cut -d ' ' -f 2) # git-submodule does not list trailing slashes in $path
More information about the icinga-checkins
mailing list