r60015 - /scripts/examples/check-build

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jul 3 14:44:05 UTC 2010


Author: gregoa
Date: Sat Jul  3 14:43:44 2010
New Revision: 60015

URL: http://svn.debian.org/wsvn/?sc=1&rev=60015
Log:
add ARCH variable

Modified:
    scripts/examples/check-build

Modified: scripts/examples/check-build
URL: http://svn.debian.org/wsvn/scripts/examples/check-build?rev=60015&op=diff
==============================================================================
--- scripts/examples/check-build (original)
+++ scripts/examples/check-build Sat Jul  3 14:43:44 2010
@@ -20,7 +20,8 @@
 PACKAGE=$(head -1 debian/changelog | perl -pe 's|^([^\s]+) .*|$1|')
 VERSION=$(head -1 debian/changelog | perl -pe 's|^.+ \((?:\d:)?(.+)\) .*|$1|')
 
-CHANGES=$BUILDDIR/${PACKAGE}_${VERSION}_$(dpkg-architecture -qDEB_HOST_ARCH).changes
+ARCH=${ARCH:-$(dpkg-architecture -qDEB_HOST_ARCH)}
+CHANGES=$BUILDDIR/${PACKAGE}_${VERSION}_${ARCH}.changes
 DSC=$BUILDDIR/${PACKAGE}_${VERSION}.dsc
 
 if [ ! -r "$CHANGES" -o ! -r "$DSC" ] ; then




More information about the Pkg-perl-cvs-commits mailing list