1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

create-tarball: Adapt script to changed directory structure.

Karolin
This commit is contained in:
Karolin Seeger 2008-09-22 08:57:59 -07:00
parent cb4d7b48e5
commit 31dc362947

View File

@ -7,7 +7,7 @@ OPT_TAG=""
OPT_KEYID="" OPT_KEYID=""
TOPDIR="`dirname $0`/.." TOPDIR="`dirname $0`/.."
VER_H="${TOPDIR}/source/include/version.h" VER_H="${TOPDIR}/source3/include/version.h"
function exitOnError function exitOnError
{ {
@ -173,7 +173,7 @@ function main
git-checkout ${OPT_BRANCH} git-checkout ${OPT_BRANCH}
exitOnError $? "Invalid branch name \"${OPT_BRANCH}\"" exitOnError $? "Invalid branch name \"${OPT_BRANCH}\""
(cd source && ./script/mkversion.sh) (cd source3 && ./script/mkversion.sh)
if [ ! -f $VER_H ]; then if [ ! -f $VER_H ]; then
exitOnError 1 "Failed to find ${VER_H}!" exitOnError 1 "Failed to find ${VER_H}!"
fi fi
@ -198,7 +198,7 @@ function main
buildDocs buildDocs
exitOnError $? "Failed to build documentation" exitOnError $? "Failed to build documentation"
( cd source && ./autogen.sh ) ( cd source3 && ./autogen.sh )
cd .. cd ..
tar cf samba-${version}.tar --exclude=.git* --exclude=CVS --exclude=.svn samba-${version} tar cf samba-${version}.tar --exclude=.git* --exclude=CVS --exclude=.svn samba-${version}