From 943d1748dab09b561078550597d89a311cf00380 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Fri, 10 Feb 2012 22:40:50 +0100 Subject: [PATCH] Redirect log messages to /dev/null to make get-orig-source target work. Fallback to current svn revision if GPAC_SVN_REVISION is unset. --- debian/gpac-get-orig-source | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/gpac-get-orig-source b/debian/gpac-get-orig-source index 1ce3ddc..44c5684 100755 --- a/debian/gpac-get-orig-source +++ b/debian/gpac-get-orig-source @@ -3,15 +3,15 @@ # Script used to generate the orig source tarball for gpac. GPAC_SVN_URL="http://gpac.svn.sourceforge.net/svnroot/gpac/trunk/gpac" -GPAC_SVN_REVISION="3450" +if test -z ${GPAC_SVN_REVISION}; then GPAC_SVN_REVISION="3450"; fi GPAC_VERSION="0.4.5+svn${GPAC_SVN_REVISION}" -svn export -r "$GPAC_SVN_REVISION" "$GPAC_SVN_URL" "gpac-${GPAC_VERSION}" +svn export -r "$GPAC_SVN_REVISION" "$GPAC_SVN_URL" "gpac-${GPAC_VERSION}" 1>/dev/null 2>&1 # Remove temp files and other cruft from source tarball # The find command snippet here was taken from debhelper's dh_clean command # with some modification to delete more unneeded files. -echo "Removing temp files and other cruft from source tarball" +echo "Removing temp files and other cruft from source tarball" 1>/dev/null 2>&1 find gpac-${GPAC_VERSION} \ \( \ \( -type f -a \ @@ -32,7 +32,7 @@ find gpac-${GPAC_VERSION} \ chmod 755 gpac-${GPAC_VERSION}/configure # Remove empty directories -echo "Removing empty directories" +echo "Removing empty directories" 1>/dev/null 2>&1 find gpac-${GPAC_VERSION} -type d -empty -delete BZIP2=-9f tar --exclude-vcs -cjf "gpac_${GPAC_VERSION}.orig.tar.bz2" \ -- 2.30.2