create-tarball: Adapt script to changed directory structure.
authorKarolin Seeger <kseeger@samba.org>
Mon, 22 Sep 2008 15:57:59 +0000 (08:57 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 22 Sep 2008 16:03:35 +0000 (09:03 -0700)
Karolin

release-scripts/create-tarball

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