git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b624ad
)
need to specicy tree to git archive
author
Andrew Tridgell
<tridge@samba.org>
Fri, 9 May 2008 23:35:13 +0000
(09:35 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 9 May 2008 23:35:13 +0000
(09:35 +1000)
packaging/RPM/makerpms.sh
patch
|
blob
|
history
diff --git
a/packaging/RPM/makerpms.sh
b/packaging/RPM/makerpms.sh
index 8554a5990596f7f2b4395f946dedb77b76062b98..7b5012a83a14c40e7290a9e82cbf0e4dfb23a400 100755
(executable)
--- a/
packaging/RPM/makerpms.sh
+++ b/
packaging/RPM/makerpms.sh
@@
-32,7
+32,7
@@
SPECFILE="ctdb.spec"
RPMBUILD="rpmbuild"
echo -n "Creating ctdb-${VERSION}.tar.gz ... "
-git archive --prefix=ctdb-${VERSION} | gzip -9 --rsyncable > ${SRCDIR}/ctdb-${VERSION}.tar.gz
+git archive --prefix=ctdb-${VERSION}
/ HEAD
| gzip -9 --rsyncable > ${SRCDIR}/ctdb-${VERSION}.tar.gz
echo "Done."
if [ $? -ne 0 ]; then
echo "Build failed!"