[Pkg-samba-maint] r1873 - trunk/talloc/debian

ctrlsoft-guest at alioth.debian.org ctrlsoft-guest at alioth.debian.org
Tue May 20 00:22:09 UTC 2008


Author: ctrlsoft-guest
Date: 2008-05-20 00:22:08 +0000 (Tue, 20 May 2008)
New Revision: 1873

Modified:
   trunk/talloc/debian/build-orig.sh
Log:
Default to samba 4 version of talloc.

Modified: trunk/talloc/debian/build-orig.sh
===================================================================
--- trunk/talloc/debian/build-orig.sh	2008-05-20 00:21:42 UTC (rev 1872)
+++ trunk/talloc/debian/build-orig.sh	2008-05-20 00:22:08 UTC (rev 1873)
@@ -7,12 +7,16 @@
 	GIT_URL=git://git.samba.org/samba.git
 fi
 
+if [ -z "$REFSPEC" ]; then
+	REFSPEC=origin/v4-0-test
+fi
+
 TALLOCTMP=$TMPDIR/$RANDOM.talloc.git
 version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
 git clone --depth 1 -l $GIT_URL $TALLOCTMP
 if [ ! -z "$REFSPEC" ]; then
 	pushd $TALLOCTMP
-	git checkout $REFSPEC
+	git checkout $REFSPEC || exit 1
 	popd
 fi
 




More information about the Pkg-samba-maint mailing list