[SCM] gpac/master: Redirect log messages to /dev/null to make get-orig-source target work.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Feb 10 21:41:50 UTC 2012


The following commit has been merged in the master branch:
commit 943d1748dab09b561078550597d89a311cf00380
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Feb 10 22:40:50 2012 +0100

    Redirect log messages to /dev/null to make get-orig-source target work.
    
    Fallback to current svn revision if GPAC_SVN_REVISION is unset.

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" \

-- 
gpac packaging



More information about the pkg-multimedia-commits mailing list