[Pkg-xfce-commits] r5418 - scripts/pbuilder

Yves-Alexis Perez corsac at alioth.debian.org
Tue Apr 19 03:19:25 UTC 2011


Author: corsac
Date: 2011-04-19 15:19:18 +0000 (Tue, 19 Apr 2011)
New Revision: 5418

Modified:
   scripts/pbuilder/pdebuild-sources.sh
Log:
update build script to show changefile path


Modified: scripts/pbuilder/pdebuild-sources.sh
===================================================================
--- scripts/pbuilder/pdebuild-sources.sh	2011-04-19 15:18:35 UTC (rev 5417)
+++ scripts/pbuilder/pdebuild-sources.sh	2011-04-19 15:19:18 UTC (rev 5418)
@@ -80,7 +80,10 @@
 		;;
     "create")
         echo "Creating $(basename ${BASETGZ})"
-
+				mkdir -p $BUILDRESULT
+				pushd $BUILDRESULT
+				apt-ftparchive packages . |gzip > Packages.gz
+				popd
         mkdir -p $BUILDRESULT
         echo -n "" |gzip > $BUILDRESULT/Packages.gz
         [ "$DEBUG" ] || $PBUILDERROOTCMD $PDEBUILD_PBUILDER --create --debug \
@@ -123,7 +126,7 @@
       export pkg version ARCH DISTRIBUTION BRANCH DEBBUILDOPTS BUILDRESULT APTGETOPT
 			[ "$DEBUG" ] || svn-buildpackage --svn-ignore-new \
 				--svn-builder $SCRIPTSDIR/pbuilder/pdebuild.wrapper &&
-			echo "done"
+			echo "done, changefile at $BUILDRESULT/${pkg}_${version}_${ARCH}.changes"
 		fi
 	else
 		echo "'$BUILDDIR/$pkg' is not a directory" > /dev/stderr




More information about the Pkg-xfce-commits mailing list