]> granicus.if.org Git - libjpeg-turbo/commitdiff
Make sure existing .deb file is removed prior to building new one
authorDRC <dcommander@users.sourceforge.net>
Wed, 17 Feb 2010 01:08:37 +0000 (01:08 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 17 Feb 2010 01:08:37 +0000 (01:08 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@118 632fc199-4ca6-4c93-a231-07263d6284db

release/makedpkg

index 5fe949c3e44fccebc3b3a271956a7398bfc7f9b8..e6bf0f1b2b23208898358584c05fe27624ba0897 100644 (file)
@@ -29,6 +29,7 @@ DEBARCH=$4
 SRCDIR=$5
 
 umask 022
+rm -f $PACKAGE_NAME\_$DEBARCH.deb
 TMPDIR=`mktemp -d /tmp/$PACKAGE_NAME-build.XXXXXX`
 mkdir $TMPDIR/DEBIAN
 (cat $SRCDIR/release/deb-control.tmpl | sed s/{__PKGNAME}/$PACKAGE_NAME/g \