[SCM] lame/master: Recreate directory and tarballs if regenerating tarball.

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Wed Jul 27 00:25:14 UTC 2011


The following commit has been merged in the master branch:
commit 6ec3f3293d962712a83921dc705a92c44554e985
Author: Andres Mejia <mcitadel at gmail.com>
Date:   Tue Jul 26 20:24:44 2011 -0400

    Recreate directory and tarballs if regenerating tarball.

diff --git a/debian/lame-get-orig-source b/debian/lame-get-orig-source
index f438945..6f79be3 100755
--- a/debian/lame-get-orig-source
+++ b/debian/lame-get-orig-source
@@ -20,6 +20,7 @@ else
   echo "Checksum verified. Checksum is $COMPUTED_CHECKSUM."
 fi
 tar -xzf "lame-${LAME_UPSTREAM_VERSION}.tar.gz"
+rm -rf "lame-${LAME_VERSION}"
 mv "lame-${LAME_UPSTREAM_VERSION}" "lame-${LAME_VERSION}" 
 cd "lame-${LAME_VERSION}"
 
@@ -1333,5 +1334,6 @@ rm -f lame-${LAME_VERSION}/.gitignore
 echo "Removing empty directories"
 find lame-${LAME_VERSION} -type d -empty -delete
 
+rm -f "lame_${LAME_VERSION}.orig.tar.gz"
 tar --exclude-vcs -czf "lame_${LAME_VERSION}.orig.tar.gz" \
   "lame-${LAME_VERSION}/"

-- 
lame packaging



More information about the pkg-multimedia-commits mailing list